import { EventEmitter, OnInit } from '@angular/core';
import { AsrClient } from '@tilde-nlp/asr-api-client';
import { AudioErrorCase } from '../models/audio-error-case.model';
import { IDictateConfiguration } from '../models/dictate-configurationi.model';
import * as i0 from "@angular/core";
export declare class TldDictateComponent implements OnInit {
    recordLength: Date;
    isProcessing: boolean;
    hasAnyMicrophone: boolean;
    asrClient: AsrClient;
    private readonly notAllowedErrorName;
    get maxLength(): number;
    private _isRecording;
    get isRecording(): boolean;
    set isRecording(value: boolean);
    private _dictatedText;
    set dictatedText(value: string);
    get dictatedText(): string;
    /**
     * Last recognized text
     */
    result: EventEmitter<string>;
    partialResult: EventEmitter<string>;
    isDictating: EventEmitter<boolean>;
    onError: EventEmitter<AudioErrorCase>;
    configuration: IDictateConfiguration;
    private _systemId;
    set systemId(value: string);
    constructor();
    ngOnInit(): void;
    startRecording(): void;
    stopRecording(): void;
    private hasAnyAudioInput;
    private handleResult;
    private emitError;
    private createClient;
    static ɵfac: i0.ɵɵFactoryDeclaration<TldDictateComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TldDictateComponent, "tld-dictate", never, { "configuration": { "alias": "configuration"; "required": false; }; "systemId": { "alias": "systemId"; "required": false; }; }, { "result": "result"; "partialResult": "partialResult"; "isDictating": "isDictating"; "onError": "onError"; }, never, never, false, never>;
}
