import { FrameProcessorInterface, FrameProcessorOptions } from "./frame-processor"; import { ModelFetcher, ONNXRuntimeAPI, OrtOptions } from "./models"; type NonRealTimeDetectionSpeechData = { audio: Float32Array; start: number; end: number; }; export type NonRealTimeDetectionOptions = FrameProcessorOptions & OrtOptions; export declare const defaultNonRealTimeDetectionOptions: NonRealTimeDetectionOptions; export declare class PlatformAgnosticNonRealTimeDetection { modelFetcher: ModelFetcher; ort: ONNXRuntimeAPI; options: NonRealTimeDetectionOptions; frameProcessor: FrameProcessorInterface | undefined; static _new(modelFetcher: ModelFetcher, ort: ONNXRuntimeAPI, options: NonRealTimeDetectionOptions): Promise; constructor(modelFetcher: ModelFetcher, ort: ONNXRuntimeAPI, options: NonRealTimeDetectionOptions); init: () => Promise; run: (this: PlatformAgnosticNonRealTimeDetection, inputAudio: Float32Array, sampleRate: number) => AsyncGenerator; } export {};