import * as swc from '@swc/core'; import type { Block } from 'comment-parser'; export declare type Import = { type: 'named'; importedName: string; localName: string; from: string; }; export declare type ImportStar = { type: 'star'; localName: string; from: string; }; export declare type ImportStatement = Import | ImportStar; export declare type Export = { type: 'named'; exportedName: string; localName: string; }; export declare type Declaration = { name: string; init: swc.Expression; comment?: Block; }; export declare type SymbolTable = { imports: ImportStatement[]; exports: Export[]; exportStarFiles: string[]; declarations: Declaration[]; }; export declare function parseTopLevelSymbols(src: string, srcSpanStart: number, topLevel: swc.ModuleItem[]): SymbolTable; //# sourceMappingURL=symbol.d.ts.map