export { redact } from './capture-privacy.js'; import { type VaultMemoryApi } from "./cloud.js"; export declare const HOOK_EVENTS: readonly ["setup", "context", "session-init", "observation", "file-context", "summarize", "session-end"]; export type HookEvent = (typeof HOOK_EVENTS)[number]; type RecordValue = Record; /** The existing project for a working directory (worktrees map to their main checkout); never creates one. */ export declare function findWorkspaceProject(cloud: Pick, cwd: string): Promise; export declare function normalizeHookInput(adapter: string, value: unknown): RecordValue; export declare function hookOutput(event: HookEvent, context?: string, adapter?: string): RecordValue; export declare function executeHook(adapter: string, event: HookEvent, value: unknown, cloud?: VaultMemoryApi, home?: string, options?: { transcript?: boolean; }): Promise; export declare function readHookInput(stream?: NodeJS.ReadableStream): Promise; export declare function runHook(adapter: string, event: string): Promise;