import type { TransformMetadataSourceLocation } from './types.mjs'; export type LineOffsetTable = { /** Resolves a `[start, end)` byte range into a source location with line/column positions. */ locate(start: number, end: number): TransformMetadataSourceLocation; }; /** * Precomputes the byte offset of every line start in `source`, enabling fast * offset → { line, column } lookups via binary search. */ export declare function createLineOffsetTable(source: string): LineOffsetTable;