import type { GatewayHttpContext } from "../http/types.js"; import type { HookEvent, InternalHooksConfig } from "./types.js"; export declare class InternalHookRegistry { private ctx; private config; private hooks; private eventMap; constructor(ctx: GatewayHttpContext, config: InternalHooksConfig | undefined); load(): Promise; emit(event: Omit): void; private runHook; private deliverToAgent; }