/** * `forge config` — local configuration management. * * Subcommands: * forge config show — display all current config values * forge config set — set a config value and persist to disk * forge config path — print the config file path * * Config file: ~/.forgeos/config.json * Supported keys: engine_url, api_key, local_only, telemetry * * Environment overrides (always take precedence over config file): * FORGEOS_ENGINE_URL → engine_url * FORGEOS_API_KEY → api_key * FORGE_LOCAL_ONLY → local_only * FORGE_TELEMETRY → telemetry.enabled */ import { Command } from "commander"; export interface TelemetryConfig { enabled: boolean; share_usage_stats: boolean; share_error_reports: boolean; retention_days: number; } export interface ForgeFullConfig { engine_url?: string; api_key?: string; local_only?: boolean; telemetry?: Partial; } export declare function getConfigPath(): string; export declare function loadFullConfig(): ForgeFullConfig; export declare function saveFullConfig(config: ForgeFullConfig): void; export declare function registerConfigCommands(parent: Command): void; //# sourceMappingURL=config.d.ts.map