import type { Declaration, Scope } from "./types.js"; export declare function scopeChain(scope: Scope | null): (import("./types.js").SourceFileScope | import("./types.js").NamespaceScope)[]; /** * Resolve relative scopes between the current scope and the target declaration. * @param target The target declaration * @param currentScope Current scope * @returns */ export declare function resolveDeclarationReferenceScope(target: Declaration, currentScope: Scope): { pathUp: Scope[]; pathDown: Scope[]; commonScope: import("./types.js").SourceFileScope | import("./types.js").NamespaceScope; }; //# sourceMappingURL=ref-scope.d.ts.map