/** * IntentGate hook — wires the multi-signal IntentRouter into * experimental.chat.messages.transform. * * Two modes: * - 'advise' (default): appends a system hint suggesting a better agent * - 'gate': replaces the user message with a redirect notice * * Default: disabled. Enable via `intentGate.enabled: true`. */ import type { Logger, PluginConfig } from '../types'; export interface IntentRouterHooks { /** Call from experimental.chat.messages.transform. */ onMessagesTransform: (output: { messages: Array<{ info: { role: string; agent?: string; }; parts: Array>; }>; }) => void; } export declare function createIntentRouterHooks(logger: Logger, config: PluginConfig): IntentRouterHooks; //# sourceMappingURL=intent-router.d.ts.map