import * as z from "zod"; import type { RoutingInfo } from "../types.js"; export declare const HookDeliverSchema: z.ZodObject<{ agentId: z.ZodString; sessionKey: z.ZodOptional; message: z.ZodOptional; }, z.core.$strip>; export declare const HookEntrySchema: z.ZodObject<{ enabled: z.ZodDefault; deliver: z.ZodOptional; message: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const InternalHooksConfigSchema: z.ZodObject<{ enabled: z.ZodDefault; entries: z.ZodOptional; deliver: z.ZodOptional; message: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; load: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type InternalHooksConfig = z.infer; export type HookEntryConfig = z.infer; export type HookDeliverConfig = z.infer; export type HookEvent = { type: "gateway" | "session" | "message" | "command"; action: string; timestamp: Date; agentId?: string; sessionKey?: string; routing?: RoutingInfo; payload?: Record; messages: string[]; }; export type HookHandler = (event: HookEvent) => Promise | void; export type HookDefinition = { name: string; description?: string; events: string[]; handler: HookHandler; entry?: HookEntryConfig; };