import { type Config } from './schema.js';
export declare function registerChannelConfigValidator(fn: (cfg: Config) => void): void;
/**
 * Load configuration from file
 * @param configPath Optional custom config path, defaults to XOPC_CONFIG_PATH or ~/.xopc/xopc.json
 */
export declare function loadConfig(configPath?: string): Config;
/**
 * Save configuration to file
 * @param config Configuration object to save
 * @param configPath Optional custom config path
 */
export declare function saveConfig(config: Config, configPath?: string): Promise<void>;
export { resolveConfigPath } from './paths.js';
