export declare const VOICEID_MODEL: string; /** Cosine similarity at/above which two embeddings are the same speaker. */ export declare const VOICEID_THRESHOLD: number; /** Clips shorter than this carry too little voice to fingerprint reliably. */ export declare const MIN_SECONDS = 0.5; /** Utterance clips are 16kHz mono s16le PCM (written by the audio daemon). */ export declare const SAMPLE_RATE = 16000; /** True once the model has been loaded (voice-ID is actively resolving). */ export declare function isEmbedderReady(): boolean; /** * Embed 16kHz mono s16le PCM -> L2-normalized 512-d vector. * Returns null when the clip is under MIN_SECONDS or the model is * unavailable. Never throws. */ export declare function embed(pcm: Buffer): Promise; /** Cosine similarity of two normalized embeddings (plain dot product). */ export declare function cosine(a: readonly number[], b: readonly number[]): number;