import { GlobalConfigType, DEFAULT_CONFIG } from './config-schema.js'; export declare const GLOBAL_CONFIG_DIR_NAME = "synarcx"; export declare const GLOBAL_CONFIG_FILE_NAME = "config.json"; export declare const GLOBAL_DATA_DIR_NAME = "synarcx"; export type Profile = 'core' | 'custom'; export type Delivery = 'both' | 'skills' | 'commands'; export type GlobalConfig = GlobalConfigType; export { DEFAULT_CONFIG }; /** * Gets the global configuration directory path following XDG Base Directory Specification. * * - All platforms: $XDG_CONFIG_HOME/synarcx/ if XDG_CONFIG_HOME is set * - Unix/macOS fallback: ~/.config/synarcx/ * - Windows fallback: %APPDATA%/synarcx/ */ export declare function getGlobalConfigDir(): string; /** * Gets the global data directory path following XDG Base Directory Specification. * Used for user data like schema overrides. * * - All platforms: $XDG_DATA_HOME/synarcx/ if XDG_DATA_HOME is set * - Unix/macOS fallback: ~/.local/share/synarcx/ * - Windows fallback: %LOCALAPPDATA%/synarcx/ */ export interface GlobalDataDirOptions { env?: NodeJS.ProcessEnv; platform?: NodeJS.Platform; homedir?: string; } export declare function getGlobalDataDir(options?: GlobalDataDirOptions): string; /** * Gets the path to the global config file. */ export declare function getGlobalConfigPath(): string; /** * Loads the global configuration from disk. * Returns default configuration if file doesn't exist or is invalid. * Uses GlobalConfigSchema (with passthrough) for validation and defaults. */ export declare function getGlobalConfig(): GlobalConfig; /** * Saves the global configuration to disk. * Creates the config directory if it doesn't exist. */ export declare function saveGlobalConfig(config: GlobalConfig): void; //# sourceMappingURL=global-config.d.ts.map