import type { ReadBraceScan, ReadFolderResult, ReadFoldRange, ReadLineRange } from "./types.ts"; /** Hierarchical omitted interiors from a flat scan. Ambiguous nesting is a parse failure, not a guess. */ export declare function hierarchy(ranges: readonly ReadLineRange[]): readonly ReadFoldRange[] | undefined; /** The single scan-to-result composition shared by every fold-boundary engine. */ export declare function composeFoldResult(text: string, scan: ReadBraceScan): ReadFolderResult; //# sourceMappingURL=compose.d.ts.map