import type { CadenceConfig } from '@manehorizons/cadence-types'; /** One selectable value for an enum field, with a one-line description. */ export interface FieldChoice { value: string; blurb: string; } /** * A single wizard-editable config key. Curated to the behavior-shaping subset * that `config explain` surfaces; advanced keys stay `config set` territory. * Help one-liners are authored here (not imported from `cli/`) to keep the * pure-core → cli dependency from inverting — same call slice 91 made. */ export interface EditableField { /** Canonical short target name (matches `config edit `). */ name: string; /** Dotted path into the config object (for setPath / getPath). */ dottedKey: string; /** Prompt label. */ label: string; /** One-line context shown above the choices. */ help: string; /** Legal enum choices, in display order. */ choices: FieldChoice[]; /** Pull the currently-active value out of a config. */ current(config: CadenceConfig): string; } export declare const EDITABLE_FIELDS: EditableField[]; /** Short aliases → canonical field name (case-insensitive lookup). */ export declare const FIELD_ALIASES: Record; /** Resolve a user-supplied target (alias + case-insensitive) to a field, or null. */ export declare function resolveField(input: string): EditableField | null; /** Nearest field name to an unknown input, if reasonably close. */ export declare function nearestField(input: string): string | null; //# sourceMappingURL=fields.d.ts.map