export declare const CH: { readonly get: "approval:get"; readonly decide: "approval:decide"; readonly request: "approval:request"; readonly reset: "approval:reset"; readonly changed: "approval:changed"; }; export type Risk = "read" | "write" | "exec"; export type Decision = "allow" | "deny" | "always"; export type Outcome = Decision | "expired"; export type Tool = "read_file" | "write_file" | "run_shell" | "http_get"; export type ApprovalRequest = { id: string; tool: Tool; risk: Risk; detail: string; createdAt: number; expiresAt: number; }; export type ApprovalRecord = { id: string; tool: Tool; risk: Risk; outcome: Outcome; at: number; auto: boolean; }; export type ApprovalState = { pending: ApprovalRequest[]; history: ApprovalRecord[]; policies: Tool[]; now: number; }; export declare const TOOLS: Tool[]; export declare function assertDecideReq(value: unknown): asserts value is { id: string; decision: Decision; }; export declare function assertRequestReq(value: unknown): asserts value is { tool: Tool; risk: Risk; detail: string; ttlMs: number; }; //# sourceMappingURL=ipc.d.ts.map