export type HookEffectKind = "observation" | "response-shaping" | "guard-decision"; export type HookOperation = HookEffectKind | "durable-write"; export type HookEffectClassification = { hook: string; kind: HookEffectKind; durableWriteAllowed: false; }; /** * Classifies known OpenCode hook effects according to the harness CQRS boundary. * * @param hook - OpenCode hook identifier. * @returns The hook effect classification used by tests and hook comments. */ export declare function classifyHookEffect(hook: string): HookEffectClassification; /** * Rejects hidden durable writes from hook execution contexts. * * @param input - Hook and attempted operation. * @throws A `[Hivemind]` error when a hook attempts a durable write. */ export declare function assertHookWriteBoundary(input: { hook: string; operation: HookOperation; }): void; //# sourceMappingURL=cqrs-boundary.d.ts.map