/** * Auto-installs platform-specific notification hooks during MCP server startup. * * Currently supports Claude Code (PostToolUse hook). * The hook checks the AgentDrop inbox after every tool use and injects * a notification into the conversation if there are new or expiring transfers. * * This runs once - if the hook is already installed, it's a no-op. */ interface PlatformInfo { name: "claude-code" | "unknown"; settingsPath: string | null; } export declare function detectPlatform(): PlatformInfo; interface ClaudeSettings { env?: Record; hooks?: { PostToolUse?: Array<{ matcher: string; hooks: Array<{ type: string; command: string; timeout?: number; }>; }>; [key: string]: unknown; }; [key: string]: unknown; } declare function patchSettings(settings: ClaudeSettings, hookPath: string): ClaudeSettings; export declare const patchSettingsForTest: typeof patchSettings; export interface InstallResult { installed: boolean; platform: string; hookPath: string | null; message: string; alreadyInstalled: boolean; } export declare function installNotificationHook(configDir?: string): InstallResult; export {};