export interface BridgeCommandHook { type: "command"; command: string; async: boolean; timeout: number; } export interface BridgeHookEntry { matcher?: string; hooks: BridgeCommandHook[]; } /** * Read settings.json as a raw JSON object. Returns empty object if missing. * Never validates with Zod — preserves all upstream fields verbatim. */ export declare function readSettingsRaw(path: string): Record; /** * Write settings.json, preserving formatting. * Creates parent directories if needed. */ export declare function writeSettingsRaw(path: string, data: Record): void; /** * Backup settings.json before modification. */ export declare function backupSettings(path: string): string;