import { type HookContext, type CadenceConfig, type CadenceState } from '@manehorizons/cadence-types'; import type { SimpleStateBackend } from '../state/simple.js'; export interface HookResult { ok: boolean; blockMessage?: string; contextPayload?: string; } export declare function handleSessionStart(_ctx: HookContext, state: CadenceState): Promise; export declare function handleUserPrompt(_ctx: HookContext, state: CadenceState, config: CadenceConfig, backend: SimpleStateBackend): Promise; export declare function handlePreToolEdit(ctx: HookContext, state: CadenceState, config: CadenceConfig): Promise; export declare function handlePostToolEdit(ctx: HookContext, state: CadenceState, _config: CadenceConfig, backend: SimpleStateBackend): Promise; export declare function handleSessionStop(_ctx: HookContext, state: CadenceState, config: CadenceConfig): Promise; export declare function handleSubagentResult(ctx: HookContext, state: CadenceState, config: CadenceConfig, backend: SimpleStateBackend): Promise; export declare function handleSubagentStart(ctx: HookContext, state: CadenceState, _config: CadenceConfig, backend: SimpleStateBackend): Promise; /** * Phase 23.4 — skillAudit wiring. Records the skill name from `ctx.raw.skill` * into `state.skillAudit.invoked` when `config.telemetry.skillInvocations` is * enabled. Dedups (set-like) and caps the array at 100 entries with FIFO * eviction. Best-effort: missing skill or telemetry disabled → no-op. */ export declare function handleSkillInvoke(ctx: HookContext, state: CadenceState, config: CadenceConfig, backend: SimpleStateBackend): Promise; //# sourceMappingURL=handlers.d.ts.map