import type { SupportedStructuredFormat } from "./lang.js"; import type { OutlineResult } from "./types.js"; import { type ParsedTree } from "./runtime.js"; /** * Extract a structural outline from source code. * * @param source - The source code text. * @param lang - Structured format identifier. Defaults to `"ts"`. * @returns An {@link OutlineResult} with entries, jump table, and partial flag. */ export declare function extractOutline(source: string, lang?: SupportedStructuredFormat): OutlineResult; export declare function extractOutlineFromParsedTree(parsed: ParsedTree): OutlineResult; export declare function extractOutlineAsync(source: string, lang?: SupportedStructuredFormat): Promise; export declare function extractOutlineForFile(filePath: string, source: string): OutlineResult | null; export declare function extractOutlineForFileAsync(filePath: string, source: string): Promise; //# sourceMappingURL=outline.d.ts.map