import { OnInit, AfterViewInit, Renderer2 } from '@angular/core'; import { AudioSequence } from './audiosequence'; export declare class TpAudioEditorComponent implements OnInit, AfterViewInit { private renderer; inputBlob: Blob; private canvas; private progressBar; private ctx; private mediaRecorder; private chunks; private actx; private visualizer; private showInterval; private intervalStart; private intervalEnd; private dragStart; private clipboardBuffer; track: AudioSequence; formats: string[]; selectedFormat: string; recordLabel: string; fileLabel: string; durationLabel: string; PluginState: typeof PluginState; state: PluginState; constructor(renderer: Renderer2); ngOnInit(): void; ngAfterViewInit(): void; getBlob(): Promise; handleKeyup(event: KeyboardEvent): void; onResize(e: UIEvent): void; onCopy(e: ClipboardEvent): void; onCut(e: ClipboardEvent): void; onPaste(e: ClipboardEvent): void; mousedown(e: MouseEvent): void; mousemove(e: MouseEvent): void; mouseup(e: MouseEvent): void; onFileDropped(files: FileList): void; fileUploaded(e: any): void; record(): void; play(): void; pause(): void; stop(): void; download(): void; private getXCoordinate(e); private setIndeterminate(isIndeterminate); private setProgress(progress); private isValidFile(file); private decodeBlob(blob); private downloadBlob(blob); private trim(start, end); private formatDuration(current, total); private drawPlayhead(); private drawInterval(); private repaint(); } export declare enum PluginState { IDLE = 0, DOWNLOADING = 1, RECORDING = 2, DECODING = 3, }