import { QueryExecutionResult, QueryState } from '../../services/nlq/nlq-service'; import { HttpClient } from '@sisense/sdk-rest-client'; /** * Layer-2 NLQ fallback when wire `chartState` is disabled (`isNlqDeltaEnabled === false`): * prepend a machine-readable JSON snapshot of the prior structural state, then the user's * prompt. NLQ receives a single `text` field (no `chartState`). Truncate very large states * to cap token growth; truncation is logged. */ export declare function augmentNlqTextWithPriorState(userText: string, priorState: QueryState): { text: string; truncated: boolean; }; /** Call NLQ V3 smartQuery API; maps wire `chartState` to domain `queryState`. */ export declare function executeNlqV3Query(dataSourceTitle: string, queryPrompt: string, httpClient?: HttpClient, commonFilters?: unknown, priorQueryState?: QueryState, isNlqDeltaEnabled?: boolean): Promise; //# sourceMappingURL=nlq-query-helpers.d.ts.map