/** * Converts a model-planned, 1-based line selection into exact host-owned byte * ranges. Language understanding chooses the semantic range; the host validates * it and never lets the model choose paths or raw offsets. */ import type { ConversionUnit } from "../../workflows/types.ts"; export interface PlannedEditSelection { mode: "insert" | "replace"; startLine: number; endLine: number; } /** Render a bounded source file with stable 1-based line numbers for planning. */ export declare function numberedSource(source: string): string; /** * Attach an independently stale-checked replacement range to an inline unit. * The marker remains its own deletion range and may be anywhere in the file. */ export declare function applyPlannedEditSelection(unit: ConversionUnit, source: string, selection: PlannedEditSelection): void; //# sourceMappingURL=edit-selection.d.ts.map