import type { DeclarationPosition } from './get-declaration-location.ts'; import type { Project, ts } from './ts-morph.ts'; export interface OutlineRange { bannerText: string; autoCollapse: boolean; kind: ts.OutliningSpanKind; textSpan: ts.TextSpan; hintSpan: ts.TextSpan; position: DeclarationPosition; } /** Returns the TypeScript outlining ranges for a file. */ export declare function getOutlineRanges(filePath: string, project: Project): OutlineRange[]; /** Returns whether a position is within an outlining range. */ export declare function isPositionWithinOutlineRange(range: { position: { start: { line: number; column: number; }; end: { line: number; column: number; }; }; }, position: { line: number; column: number; }): boolean;