/** * Byte-offset -> UTF-16 code-unit-offset conversion for the native parser * backend's compat deserializer. See docs/architecture/native-parser.md * section 2.3 for the full empirical derivation of this algorithm; this is * a direct implementation of it. */ /** * Precomputed offset tables for one parsed source file. * Built once per native parse (not per node, not per access) -- see * buildCompatTree in ./compat-node.js, which is the only caller. */ export interface OffsetMaps { byteToUtf16: Uint32Array; rowStartUtf16: Uint32Array; } export declare function buildOffsetMaps(source: string): OffsetMaps; //# sourceMappingURL=offset-map.d.ts.map