/** * Config CLI command handlers. * * Handles `omp config ` subcommands for managing settings. * The settings registry (`config/registry.ts`) is the source of truth for available settings. */ export type ConfigAction = "list" | "get" | "set" | "reset" | "path" | "init-xdg"; /** Layer `list --scope` reads as written: the agent dir's `config.yml`, or the project's settings files. */ export type ConfigScope = "global" | "project"; export interface ConfigCommandArgs { action: ConfigAction; key?: string; value?: string; flags: { json?: boolean; /** `list` shows only the keys this layer sets, with the values as written. */ scope?: ConfigScope; }; } /** * Parse config subcommand arguments. * Returns undefined if not a config command. */ export declare function parseConfigArgs(args: string[]): ConfigCommandArgs | undefined; export declare function runConfigCommand(cmd: ConfigCommandArgs): Promise; export declare function printConfigHelp(): void;