export type ONNXRuntimeAPI = any; export type ModelFetcher = () => Promise; export interface SpeechProbabilities { notSpeech: number; isSpeech: number; } export interface Model { reset_state: () => void; process: (arr: Float32Array) => Promise; } export declare class Silero { private ort; private modelFetcher; _session: any; _h: any; _c: any; _sr: any; constructor(ort: ONNXRuntimeAPI, modelFetcher: ModelFetcher); static new: (ort: ONNXRuntimeAPI, modelFetcher: ModelFetcher) => Promise; init: () => Promise; reset_state: () => void; process: (audioFrame: Float32Array) => Promise; } //# sourceMappingURL=models.d.ts.map