import { FrameProcessor, FrameProcessorOptions, Message, NonRealTimeDetectionOptions, PlatformAgnosticNonRealTimeDetection } from "./common";
import { audioFileToArray } from "./utils";
export type NonRealTimeDetectionOptionsWeb = {
    modelURL: string;
    modelFetcher: (path: string) => Promise<ArrayBuffer>;
    sampleRate: number;
    minSilenceFrames: number;
} & NonRealTimeDetectionOptions;
export declare const defaultNonRealTimeDetectionOptions: NonRealTimeDetectionOptionsWeb;
declare class NonRealTimeDetection extends PlatformAgnosticNonRealTimeDetection {
    static new(options?: Partial<NonRealTimeDetectionOptionsWeb>): Promise<NonRealTimeDetection>;
}
export declare const utils: {
    minFramesForTargetMS: typeof import("./common/utils").minFramesForTargetMS;
    arrayBufferToBase64: typeof import("./common/utils").arrayBufferToBase64;
    encodeWAV: typeof import("./common/utils").encodeWAV;
    audioFileToArray: typeof audioFileToArray;
};
export { FrameProcessor, Message, NonRealTimeDetection };
export type { FrameProcessorOptions, NonRealTimeDetectionOptions };
export { Detect, AudioNodeDetection, defaultRealTimeDetectionOptions } from "./real-time";
export type { RealTimeDetectionOptions } from "./real-time";
