import type { Project, SyntaxKind } from './ts-morph.ts'; interface FileExport { /** The symbol ID of the export */ name: string; /** The text of the file export including its dependencies */ text: string; /** The position of the export in the file */ position: number; /** The kind of the export node */ kind: SyntaxKind; } interface FileExportWithDependencies extends FileExport { /** File paths that this export text depends on */ dependencyPaths: string[]; } /** * Extract all exported declarations in `filePath`, * returning an array of { name, text } for each export. * * - Collects import statements used by those exports * - Collects all local dependencies for each export * - Strips out everything else */ export declare function getFileExportsText(filePath: string, project: Project): Array; export declare function getFileExportsTextWithDependencies(filePath: string, project: Project): Array; export {};