import { AfterViewInit, ChangeDetectorRef, NgZone, OnChanges, SimpleChanges } from '@angular/core'; import { Attachment } from 'stream-chat'; import * as i0 from "@angular/core"; /** * This component can be used to display an attachment with type `voiceRecording`. The component allows playing the attachment inside the browser. */ export declare class VoiceRecordingComponent implements OnChanges, AfterViewInit { private ngZone; private cdRef; /** * The voice recording attachment */ attachment?: Attachment; fileSize: string; secondsElapsedFormatted: string; durationFormatted: string; secondsElapsed: number; isError: boolean; private audioElement?; constructor(ngZone: NgZone, cdRef: ChangeDetectorRef); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; togglePlay(): Promise; setPlaybackRate(): void; private getFormattedDuration; private getFileSize; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }