import { Eventify } from 'jodit/core/event-emitter/eventify'; import type { CanUndef, IAsync, IDestructible } from 'jodit/types'; import type { ISpeechRecognize } from '../interface'; export declare class RecognizeManager extends Eventify<{ pulse: (enable: boolean) => void; result: (text: string) => void; progress: (text: string) => void; error: () => void; sound: (type: number) => void; }> implements IDestructible { private async; private _lang; set lang(v: CanUndef); get lang(): CanUndef; private _continuous; set continuous(v: boolean); get continuous(): boolean; private _interimResults; set interimResults(v: boolean); get interimResults(): boolean; sound: boolean; constructor(async: IAsync, api: ISpeechRecognize); private static _instances; destruct(): void; private _isEnabled; get isEnabled(): boolean; start(): void; stop(): void; toggle(): void; restart(): void; private _restartTimeout; private _onSpeechStart; private readonly _api; private __on; private __off; private _progressTimeout; private _onResult; private _onError; private _makeSound; }