Thank you for answering my question.
Just to follow up - if I am coming in on a LAN international flight (i.e. from SCL) and not leaving the terminal and going directly to the DL gate. At which point will I encounter customs?
Thanks again, personal experience is always very helpful.