import { z } from "zod";
export const HookEventSchema = z.enum([
    "PreToolUse",
    "PostToolUse",
    "PostToolUseFailure",
    "UserPromptSubmit",
    "SessionStart",
    "Stop",
    "StopFailure",
    "PreCompact",
    "PostCompact",
    "TaskCreated",
    "TaskCompleted",
    "Setup",
]);
export const HOOK_EVENTS = HookEventSchema.options;
export function isHookEvent(value) {
    return HOOK_EVENTS.includes(value);
}
