import type { Definition } from './definition-extractor.js'; import type { FileReference, InternalSymbolUsage } from './reference-extractor.js'; import type { WorkspaceMap } from './workspace-resolver.js'; import './adapters/typescript-adapter.js'; export interface ParsedFile { language: string; references: FileReference[]; definitions: Definition[]; internalUsages: InternalSymbolUsage[]; content: string; sizeBytes: number; modifiedAt: string; } export type { FileReference, InternalSymbolUsage, Definition }; /** * Pure function that parses already-loaded content into a ParsedFile. * This enables testing without file I/O. */ export declare function parseContent(content: string, filePath: string, knownFiles: Set, metadata: { sizeBytes: number; modifiedAt: string; }, workspaceMap?: WorkspaceMap | null): ParsedFile; export declare function parseFile(filePath: string, knownFiles?: Set, workspaceMap?: WorkspaceMap | null): Promise; export declare function parseFiles(filePaths: string[]): Promise>; //# sourceMappingURL=ast-parser.d.ts.map