///
import { ISpeechConfigAudioDevice } from "../common.speech/Exports.js";
import { AudioSourceEvent, EventSource, IAudioSource, IAudioStreamNode } from "../common/Exports.js";
import { AudioStreamFormatImpl } from "../sdk/Audio/AudioStreamFormat.js";
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;
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;
}