import { type SemanticDatasetSummary } from './semantic-datasets'; export interface LocalLlmQuerySourceIdentity { dataSourceId: string; datastoreKey?: string | null; providerName: string; providerPeerId?: string | null; providerPublicKey?: string | null; providerId?: string | null; sourceName?: string | null; } export interface LocalLlmQuerySchemaContext { standardId: string; schemaName: string; tableName: string; columns: string[]; } export interface LocalLlmQueryProfileContext { id: string; label: string; description: string; } export interface LocalLlmQueryLimits { maxRows: number; maxBytes: number; timeoutMs: number; } export interface LocalLlmQueryContext { schema: LocalLlmQuerySchemaContext; source: LocalLlmQuerySourceIdentity; queryProfile: string; queryProfiles: LocalLlmQueryProfileContext[]; semanticDatasets: SemanticDatasetSummary[]; sampleRows: Array>; limits: LocalLlmQueryLimits; } export interface LocalLlmQueryContextInput { standardId: string; schemaName: string; tableName: string; columns: string[]; source: LocalLlmQuerySourceIdentity; queryProfile: string; sampleRows: Array>; maxRows?: number | null; maxBytes?: number | null; timeoutMs?: number | null; } export interface LocalLlmQueryRequest { ask: string; context: LocalLlmQueryContext; } export interface LocalLlmQueryDraft { sql: string; rationale: string; } export declare function buildLocalLlmQueryContext(input: LocalLlmQueryContextInput): LocalLlmQueryContext; //# sourceMappingURL=llm-query-context.d.ts.map