/**
 * @module intent
 * @description Two-tier intent detection for form interactions
 *
 * ## Design Rationale
 *
 * Intent detection determines what the user wants to do:
 * - Fill form fields? Submit? Cancel? Undo?
 *
 * We use a two-tier approach:
 *
 * ### Tier 1: Fast Path (English Keywords)
 * Simple regex matching for common English phrases.
 *
 * ### Tier 2: LLM Fallback
 * When fast path returns null, we use LLM for non-English, ambiguous, or complex messages.
 */
import type { FormIntent } from "./types.ts";
/**
 * Quick intent detection using English keywords.
 *
 * Fast path for common English phrases - avoids LLM call for obvious intents.
 * Returns null if no match found, triggering LLM fallback.
 *
 * @param text - User message text
 * @returns Detected intent or null if no fast-path match
 */
export declare function quickIntentDetect(text: string): FormIntent | null;
/**
 * Check if intent is a lifecycle intent (affects session state).
 */
export declare function isLifecycleIntent(intent: FormIntent): boolean;
/**
 * Check if intent is a UX intent (doesn't directly provide data).
 */
export declare function isUXIntent(intent: FormIntent): boolean;
/**
 * Check if intent likely contains data to extract.
 */
export declare function hasDataToExtract(intent: FormIntent): boolean;
//# sourceMappingURL=intent.d.ts.map