import type { Binding, CheckedScript } from '../core/index.js'; /** * Every name the file itself declares that may be written at an offset. * * A library name is not here: the manifest answers for those, and a binding of * kind `library` is the checker's record of the global scope rather than * something the file declared. */ export declare function inScopeAt(script: CheckedScript, offset: number): readonly Binding[]; /** * The binding a name means at an offset, or nothing where the file declares none. * * The declaration itself counts, which the scope rule above deliberately does * not: a name is not in scope inside its own right hand side, and pointing at it * on the line that declares it is still pointing at it. Without this, a hover * over the `x` in `x = ema(close, 9)` would say nothing at all. */ export declare function bindingNamed(script: CheckedScript, name: string, offset: number): Binding | undefined; //# sourceMappingURL=scope.d.ts.map