Nodes relevant for two pass name resolution

I want to understand what all nodes of AST are relevant for first pass of the AST during name resolution which happen at compile time and what nodes are relevant during the second pass of AST which happen at runtime.
My core question is whether variable declarations are added in scope chain during the first pass.