import { FileAttachmentsType } from './fileAttachmentsType';
import { FileAttachments } from '../../../../../types/fileAttachments';
export declare class AudioFileAttachmentType extends FileAttachmentsType {
    stopPlaceholderCallback?: () => Promise<void>;
    private _activePlaceholderTimer?;
    private _activePlaceholderAttachment?;
    private static readonly TIMER_LIMIT_S;
    constructor(fileAttachments: FileAttachments, toggleContainer: (display: boolean) => void, container: HTMLElement);
    private static createAudioContainer;
    private static addAudioElements;
    static createAudioAttachment(fileReaderResult: string): HTMLDivElement;
    private createTimer;
    private createPlaceholderAudioAttachment;
    private addPlaceholderAudioAttachmentEvents;
    addPlaceholderAttachment(stopCallback: () => Promise<void>, customTimeLimit?: number): void;
    completePlaceholderAttachment(file: File, fileReaderResult: string): void;
    removePlaceholderAttachment(): void;
    private clearTimer;
    static stopAttachmentPlayback(attachmentContainerEl: HTMLElement): void;
}
//# sourceMappingURL=audioFileAttachmentType.d.ts.map