import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { TldTranslateConfigService, TldTranslateSystemManagementService } from '../../tld-common/services';
import { AudioRecordService } from '../services/audio-record.service';
import { TldVoiceInputService } from '../services/tld-voice-input.service';
import { AlertService } from '@tilde-nlp/ngx-common';
import * as i0 from "@angular/core";
export declare class TldRecordComponent implements OnInit, OnDestroy {
    private readonly audioRecorderService;
    private readonly systemManagementService;
    private readonly configService;
    private readonly voiceProcessingService;
    private readonly alert;
    get isRecording(): boolean;
    get recordTimeDate(): Date;
    get isProcessing(): boolean;
    hasAnyMicrophone: boolean;
    /**
     * Successfuly recorded BLOB
     */
    record: EventEmitter<Blob>;
    private recordErrorSubscription;
    private readonly errorTranslationSubKeys;
    constructor(audioRecorderService: AudioRecordService, systemManagementService: TldTranslateSystemManagementService, configService: TldTranslateConfigService, voiceProcessingService: TldVoiceInputService, alert: AlertService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    startRecording(): void;
    stopRecording(): void;
    cancel(): void;
    processVoiceRecord(file: Blob): void;
    private findMic;
    static ɵfac: i0.ɵɵFactoryDeclaration<TldRecordComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TldRecordComponent, "tld-record", never, {}, { "record": "record"; }, never, never, false, never>;
}
