import type { KibiConfig } from '../types.js'; declare const CONFIG_DIR: string; declare const CONFIG_PATH: string; declare const DEFAULT_API_URL = "https://api.kibi.bot"; declare const DEFAULT_LLM_URL = "https://llm.kibi.bot/v1"; /** * Read config from disk. Returns defaults for missing values. */ export declare function readConfig(): KibiConfig; /** * Write config to disk. Merges with existing config. * Creates ~/.kibi/ if needed. Sets file permissions to 0600. */ export declare function writeConfig(updates: Partial): void; /** * Delete config file (logout). */ export declare function clearConfig(): void; /** * Get a specific config value. */ export declare function getConfigValue(key: keyof KibiConfig): string | undefined; /** * Set a specific config value. */ export declare function setConfigValue(key: keyof KibiConfig, value: string): void; /** * Get the API key or throw a helpful error. */ export declare function requireApiKey(): string; export { CONFIG_PATH, CONFIG_DIR, DEFAULT_API_URL, DEFAULT_LLM_URL };