export class SpeakerVerificationRNBridgeInstance { constructor(engineId: any); engineId: any; /** * Create the native speaker verifier engine. * * modelPathOrName: * - absolute path OR "speaker_model.dm" in the iOS app bundle * - OR require('./assets/speaker_model.dm') * * enrollmentJsonPathOrName: * - absolute path OR "enrollment.json" in the iOS app bundle * - OR require('./assets/enrollment.json') * * options (optional): * { decisionThreshold, frameSize, tailSeconds, maxTailSeconds, cmn, expectedLayoutBDT, logLevel } */ create(modelPathOrName: any, enrollmentJsonPathOrName: any, options?: {}): Promise; /** * Verify WAV by streaming in native. * * wavPathOrName: * - absolute path OR "test.wav" in bundle * - OR require('./assets/test.wav') * * resetState: * - if true, clears internal streaming state before verification */ verifyWavStreaming(wavPathOrName: any, resetState?: boolean): Promise; destroy(): Promise; } export function createSpeakerVerificationInstance(engineId: any): Promise; export class SpeakerVerificationMicController { constructor(controllerId: any); controllerId: any; create(configJson: any): Promise; beginOnboarding(enrollmentId: any, targetEmbeddingCount: any, reset?: boolean): Promise; getNextEmbeddingFromMic(): Promise; finalizeOnboardingNow(): Promise; setEnrollmentJson(enrollmentJson: any): Promise; startVerifyFromMic(resetState?: boolean): Promise; startEndlessVerifyFromMic(hopSeconds?: number, stopOnMatch?: boolean, resetState?: boolean): Promise; stop(): Promise; destroy(): Promise; } export function createSpeakerVerificationMicController(controllerId: any): Promise; export function onSpeakerVerificationOnboardingProgress(cb: any): () => void; export function onSpeakerVerificationOnboardingDone(cb: any): () => void; export function onSpeakerVerificationVerifyResult(cb: any): () => void; export function onSpeakerVerificationError(cb: any): () => void;