export type SourceToken = { kind: 'identifier' | 'string' | 'punctuation'; value: string; offset: number; length: number; line: number; column: number; }; export type SourceImport = { specifier: string; token: SourceToken; bindings: ReadonlyMap; namespace?: string; }; export type SourceFile = { path: string; relativePath: string; text: string; tokens: readonly SourceToken[]; imports: readonly SourceImport[]; }; export declare function scanSource(path: string, relativePath: string, text: string): SourceFile; export declare function importedCalls(file: SourceFile, modules: ReadonlySet, names: ReadonlySet): SourceToken[]; //# sourceMappingURL=source.d.ts.map