import { Porcupine } from '@picovoice/porcupine-web-en-factory';
import { Rhino } from '@picovoice/rhino-web-en-factory';
export { Porcupine, Rhino };
import { PicovoiceEngine, PicovoiceEngineArgs } from './picovoice_types';
export declare class Picovoice implements PicovoiceEngine {
    private _contextInfo;
    private _engineControl;
    private _frameLength;
    private _paused;
    private _porcupineCallback;
    private _porcupineEngine;
    private _rhinoCallback;
    private _rhinoEngine;
    private _sampleRate;
    private _version;
    private constructor();
    /**
     * Creates an instance of Picovoice.
     *
     * Behind the scenes, it requires the WebAssembly code to load and initialize before
     * it can create an instance.
     *
     * @param picovoiceArgs the wake word and context for a continuous voice interaction loop
     * @param picovoiceArgs.porcupineKeyword the Pocupine wake word to activate an interaction loop
     * @param picovoiceArgs.rhinoContext the Rhino Speech-to-Intent context for the follow-on command
     *
     * @returns An instance of the Picovoice engine.
     */
    static create(picovoiceArgs: PicovoiceEngineArgs): Promise<Picovoice>;
    process(inputFrame: Int16Array): Promise<void>;
    release(): void;
    get version(): string;
    get frameLength(): number;
    get sampleRate(): number;
    set paused(pause: boolean);
    get paused(): boolean;
    get contextInfo(): string;
}
//# sourceMappingURL=picovoice.d.ts.map