/**
 * config command — manage the user-global ("prefs") config tier.
 *
 * `ailf init` scaffolds a *project* under .ailf/; `ailf config` manages the
 * *user* — per-developer defaults read on every run when the project and env
 * are silent (cascade: flag > env > project > user > default). Prefs-only:
 * the API key is never stored here. See
 * docs/design-docs/cli-user-config-tier.md.
 */
import { Command } from "commander";
import { type SettableKey } from "../adapters/config-sources/user-config.js";
type ValueVerdict = {
    ok: true;
    value: string;
} | {
    ok: false;
    message: string;
};
/** Narrow a raw string to a whitelisted key, or null. */
export declare function parseSettableKey(raw: string): SettableKey | null;
/** Validate + normalize a value for a key (pure; no process exit). */
export declare function validateConfigValue(key: SettableKey, raw: string): ValueVerdict;
export declare function createConfigCommand(): Command;
export {};
