export interface DocumentMetadata {
    source: string;
    heading?: string;
}
export interface DocumentChunk {
    id: string;
    text: string;
    metadata: DocumentMetadata;
}
export interface EmbeddingChunk extends DocumentChunk {
    embedding: number[];
}
export interface EmbeddingIndex {
    model: string;
    dimension: number;
    createdAt: string;
    chunks: EmbeddingChunk[];
}
export interface SearchResult extends DocumentChunk {
    score: number;
}
export interface SearchResultsPage {
    results: SearchResult[];
    total: number;
    page: number;
    pageSize: number;
    hasMore: boolean;
}
