/** * Action types that can be executed when an intent is matched */ export type ActionType = 'agent' | 'function'; /** * Action to execute when an intent is matched */ export interface Action { type: ActionType; target: string; payload?: Record; } /** * Intent definition */ export interface Intent { id: string; utterances: string[]; action: Action; description?: string; } /** * Intent match result */ export interface IntentMatch { intent: Intent; confidence: number; matchedUtterance?: string; matchType: 'exact' | 'regex' | 'semantic'; allCandidates?: Array<{ intentId: string; intentName: string; confidence: number; matchType: 'exact' | 'regex' | 'semantic'; }>; } //# sourceMappingURL=intent.d.ts.map