import ts from "typescript"; import { type HostSourceRange } from "./embedded-hson-source.js"; export type StaticHsonBoundary = "transform" | "livemap" | "livetree"; export type RuntimeHostSpan = Readonly<{ runtimeRange: HostSourceRange; hostRange: HostSourceRange; }>; /** Private editor evidence for one exact ordinary JavaScript string occurrence. */ export type StaticHsonSource = Readonly<{ kind: "javascript-string"; fileName: string; hostText: string; boundary: StaticHsonBoundary; callRange: HostSourceRange; calleeRange: HostSourceRange; /** Common occurrence aliases retained for private D2/D3 tooling consumers. */ tagRange: HostSourceRange; templateRange: HostSourceRange; literalRange: HostSourceRange; bodyRange: HostSourceRange; runtimeText: string; spans: readonly RuntimeHostSpan[]; }>; export declare function create_static_hson_source(fileName: string, hostText: string, file: ts.SourceFile, call: ts.CallExpression, literal: ts.StringLiteral | ts.NoSubstitutionTemplateLiteral, boundary: StaticHsonBoundary): StaticHsonSource | undefined; /** Map one Unicode-safe runtime point through complete authored escape spans. */ export declare function map_static_hson_point(source: StaticHsonSource, index: number): HostSourceRange | undefined; /** Map one half-open runtime range to the smallest truthful host range. */ export declare function map_static_hson_range(source: StaticHsonSource, runtimeRange: HostSourceRange): HostSourceRange | undefined; //# sourceMappingURL=static-hson-source.d.ts.map