/** * PositionContext backed by compiler OffsetIndex via N-API (`offsetIndexLineCol`). * `@vmz/diagnostic` stays free of a native dependency — hosts wire this helper. */ export type LineCol = { line: number; column: number; }; export type PositionContext = { lineCol(offset: number): LineCol; }; /** * Build a diagnostic PositionContext for `sourceText` using the native OffsetIndex. */ export declare function createPositionContext(sourceText: string): PositionContext;