export interface Document {
    id: string;
    text: string;
    vector: Float32Array;
    metadata?: Record<string, unknown>;
}
export interface SearchResult {
    id: string;
    text: string;
    score: number;
    metadata?: Record<string, unknown>;
}
export type ProgressStage = "wasm" | "model" | "init";
export type ProgressCallback = (stage: ProgressStage, progress: number) => void;
export interface VectorSearchConfig {
    name?: string;
    onProgress?: ProgressCallback;
}
export interface AddOptions {
    id?: string;
    metadata?: Record<string, unknown>;
}
export interface SearchOptions {
    limit?: number;
}
//# sourceMappingURL=types.d.ts.map