/**
 * Generate embedding vector for text
 * @returns Float32Array of 384 dimensions
 */
export declare function generateEmbedding(text: string): Promise<Float32Array>;
/**
 * Calculate cosine similarity between two embeddings
 * @returns Similarity score 0-1 (1 = identical)
 */
export declare function cosineSimilarity(a: Float32Array, b: Float32Array): number;
/**
 * Check if embedding model is loaded (worker is alive and ready)
 */
export declare function isModelLoaded(): boolean;
/**
 * Preload the model in the worker thread
 */
export declare function preloadModel(): Promise<void>;
/**
 * Dispose the worker thread and release resources.
 */
export declare function disposeModel(): Promise<void>;
