export interface ConfigKeyDef { key: string; type: 'string' | 'number' | 'boolean' | 'string[]'; default: unknown; description: string; env?: string; } /** * Registry of all configurable keys, grouped by facade. * Add new keys here when a facade gains configurable behavior. */ export declare const CONFIG_SCHEMA: Record; export interface Profile { name: string; description: string; overrides: Record>; } export declare const BUILT_IN_PROFILES: Record; /** * Get merged config for a specific facade. * Merge order: defaults → profile → project config → global config → env vars */ export declare function getToolConfig = Record>(projectId: string | undefined, facade: string): T; /** * Get the full merged config for all facades. */ export declare function getAllToolConfig(projectId?: string): Record>; /** * Get the enabled facades list (from DECIBEL_FACADES env or config files). * Returns undefined if no restriction is set (all facades allowed). */ export declare function getEnabledFacades(projectId?: string): string[] | undefined; /** * Set a config value in a project's .decibel/config.yaml. */ export declare function setToolConfigValue(projectId: string, facade: string, key: string, value: unknown): { success: boolean; path: string; message: string; }; /** * Set the active profile in a project's .decibel/config.yaml. */ export declare function setProfile(projectId: string, profileName: string): { success: boolean; path: string; message: string; }; //# sourceMappingURL=toolConfig.d.ts.map