/** * Token-level definition scanner — extracts top-level `let ` bindings * from the token stream without requiring a valid AST. * * This always succeeds (even on broken files) and provides a fallback for * completions and basic Go to Definition when the parser fails. */ import type { Token } from '../tokenizer/token'; import type { SymbolDef } from './types'; /** * Scan a token array for top-level let bindings. * Extracts simple `let ` patterns — does not handle destructuring. */ export declare function scanTokensForDefinitions(tokens: Token[], filePath: string): SymbolDef[];