import type { RAGDocumentChunk, RAGQueryInput, RAGQueryResult, RAGUpsertInput } from '../../../types/ai';
export type { RAGBackendCapabilities, RAGCitation, RAGChunkingOptions, RAGChunkingStrategy, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGDocumentChunk, RAGDocumentChunkPreview, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGBackendDescriptor, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGPreparedDocument, RAGSource, RAGSourceGroup, RAGIngestResponse, RAGMutationResponse, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGSearchRequest, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from '../../../types/ai';
export type InternalRAGStoredChunk = RAGDocumentChunk & {
    vector: number[];
    sourceId: string;
};
export type { RAGUpsertInput as RAGDocumentBatch };
export type { RAGQueryInput as RAGQueryParams };
export declare const buildRAGContext: (hits: RAGQueryResult[]) => string;
