export declare const TABLE_KEYWORD_MAP: Record; export declare const FILTER_KEYWORDS: Record>; /** * Detects which Supabase table should be used based on text context * @param text - The text containing keywords (e.g., "20 students enrolled") * @returns Suggested table name or null */ export declare const detectTableFromText: (text: string) => string | null; /** * Extracts table name from DOM element's data-attribute * @param element - DOM element to check * @returns Table name or null */ export declare const getTableFromDOMAttribute: (element: Element) => string | null; /** * Detects filter conditions from text (e.g., "active AIs" -> WHERE room_status = 'active') * @param text - Text to analyze * @returns Array of filter objects */ export declare const detectFiltersFromText: (text: string) => Array<{ column: string; value: any; }>; /** * Resolves which table to use with priority: * 1. DOM attribute (data-mockdetector-table) * 2. Smart pattern matching from text * @param text - Context text * @param element - Optional DOM element * @returns Table name or null */ export declare const resolveTable: (text: string, element?: Element | null) => string | null;