/** * A saved remote target for the CLI. */ export interface CliTarget { /** Friendly name for this target. */ name: string; /** Host and port (e.g. "192.168.1.100:8080"). */ host: string; /** Bearer token for authentication (empty if no auth). */ token: string; } /** * CLI configuration file structure. */ interface CliConfig { /** The currently active target name. */ activeTarget: string; /** Saved targets. */ targets: Record; } /** * Load the CLI config file. Creates the default if it doesn't exist. */ export declare function loadCliConfig(): Promise; /** * Save the CLI config file. */ export declare function saveCliConfig(config: CliConfig): Promise; /** * Get the active target from config. */ export declare function getActiveTarget(): Promise; /** * Add or update a target. */ export declare function addTarget(name: string, host: string, token: string): Promise; /** * Remove a target. */ export declare function removeTarget(name: string): Promise; /** * Set the active target. */ export declare function setActiveTarget(name: string): Promise; /** * List all targets. */ export declare function listTargets(): Promise<{ targets: CliTarget[]; active: string; }>; /** * Get the config file path (for display purposes). */ export declare function getConfigPath(): string; export {}; //# sourceMappingURL=config.d.ts.map