///
import { ISpeechConfigAudioDevice } from "../common.speech/Exports";
import { AudioSourceEvent, EventSource, IAudioSource, IAudioStreamNode } from "../common/Exports";
import { AudioStreamFormatImpl } from "../sdk/Audio/AudioStreamFormat";
export declare class FileAudioSource implements IAudioSource {
private privAudioFormatPromise;
private privStreams;
private privId;
private privEvents;
private privSource;
private privFilename;
private privHeaderEnd;
constructor(file: File | Buffer, filename?: string, audioSourceId?: string);
get format(): Promise;
get blob(): Promise;
turnOn: () => Promise;
id: () => string;
attach: (audioNodeId: string) => Promise;
detach: (audioNodeId: string) => void;
turnOff: () => Promise;
get events(): EventSource;
get deviceInfo(): Promise;
private readHeader;
private upload;
private onEvent;
}