/** * Path of the JSONL sink for a given workspace. * * Per-workspace, NOT homedir. When two VS Code instances run on the same * machine, they share `os.homedir()` — so a homedir-scoped sink causes both * pollers to see (and forward, attributed to themselves) every hook from * every instance. The result was hooks from `tester-1` showing up under * `A1` in pixel-office because A1's poller read the line first. Scoping * the sink to the workspace avoids the cross-talk entirely. */ export declare function hooksJsonlPath(workspaceRoot: string): string; /** Returns a shell command that synthesises a hook event with no stdin payload. * Writes the payload to a small temp JSON file in .autodev/scripts/ so that * no shell quoting of JSON is required (avoids PowerShell stripping quotes). * `workspaceRoot` controls which workspace's JSONL sink the hook writes to. */ export declare function getManualHookCmd(provider: string, hookEvent: string, workspaceRoot: string, sessionName?: string): string; export declare function areClaudeHooksInstalled(workspaceRoot: string): boolean; export declare function installClaudeHooks(workspaceRoot: string): void; export declare function uninstallClaudeHooks(workspaceRoot: string): void; export declare function areCopilotHooksInstalled(workspaceRoot: string): boolean; export declare function installCopilotHooks(workspaceRoot: string): void; export declare function uninstallCopilotHooks(workspaceRoot: string): void; export declare function installHooks(scope: 'project' | 'global', workspaceRoot: string): void; export declare function uninstallHooks(scope: 'project' | 'global', workspaceRoot: string): void; export declare function areHooksInstalled(scope: 'project' | 'global', workspaceRoot: string): boolean;