import { HooksMode, ProjectProfile } from '../types'; type ProjectLanguage = ProjectProfile['language']; export interface GeneratedHookFiles { files: Array<{ relativePath: string; content: string; }>; } /** * Generates the complete guard pipeline: runner, guards, config, memory, restore script. * Returns all files to be written so the caller controls I/O. */ export declare function generateGuardPipeline(mode: HooksMode, language?: ProjectLanguage): GeneratedHookFiles; /** * Writes the guard pipeline files to disk. * Creates directories as needed. Preserves existing guard-config.json and guard-memory.json. */ export declare function writeGuardPipeline(targetDir: string, mode: HooksMode, language?: ProjectLanguage): string[]; /** * Generates the Claude Code settings.json with hook configuration. * Includes: guard pipeline (PreToolUse/PostToolUse) + memory hooks (PreCompact, SessionStart). */ export declare function generateHooksSettings(mode: HooksMode, existingSettings?: string): string; /** * Generates the aicodesight-settings.json source of truth. * This is a backup of the hooks section that AICodeSight writes to settings.json. * Used by restore-settings.js to recover hooks if settings.json is overwritten. */ export declare function generateAicodesightSettings(mode: HooksMode): string; /** * Adds memory lifecycle hooks to settings without requiring the guard pipeline. * Used by both generateHooksSettings and standalone memory init. */ export declare function addMemoryHooks(settings: Record): void; export {};