/** * Settings declared by this domain (see `config/registry.ts`). Declaration order is the * settings-panel order; `config/all-settings.ts` registers every domain. */ import type { EditMode } from "@oh-my-pi/pi-tui/tools/edit"; /** Every edit tool variant, as accepted by `edit.mode` and `PI_EDIT_VARIANT`. */ export declare const EDIT_MODES: readonly ["apply_patch", "hashline", "patch", "replace", "sloppy"]; /** * `edit.mode` value: an edit tool variant, or `"none"` to unregister the edit tool and force-enable * `bash` (see `resolveBuiltinToolPlan` in `tools/index.ts`). */ export type EditModeSetting = EditMode | "none"; /** Narrows free text (config values, per-model variants) to an edit mode; `undefined` when unknown. */ export declare function normalizeEditMode(mode?: string | null): EditMode | undefined; export declare const cfgEditMode: import("../config/registry.js").Setting<"apply_patch" | "hashline" | "none" | "patch" | "replace" | "sloppy", "edit.mode">; /** Per-model edit variant: model-selector substring (case-insensitive) → edit mode. Config-file only. */ export declare const cfgEditModelVariants: import("../config/registry.js").Setting, "edit.modelVariants">; /** {@link cfgEditModelVariants} with lowercased patterns; entries naming an unknown mode are dropped. */ export declare const editModelVariants: import("../config/registry.js").Derived<{ patternLower: string; mode: EditMode; }[]>; export declare const cfgEditFuzzyMatch: import("../config/registry.js").Setting; export declare const cfgEditFuzzyThreshold: import("../config/registry.js").Setting; export declare const cfgEditStreamingAbort: import("../config/registry.js").Setting; export declare const cfgEditRecoverInlineEdits: import("../config/registry.js").Setting; export declare const cfgEditBlockAutoGenerated: import("../config/registry.js").Setting; export declare const cfgEditEnforceSeenLines: import("../config/registry.js").Setting; export declare const cfgEditBlackboxEnabled: import("../config/registry.js").Setting; export declare const cfgEditAutoRepairEnabled: import("../config/registry.js").Setting;