import type { AudioFile } from "../taglib/audio-file-interface.js";
import type { AudioFileInput, OpenOptions } from "../types.js";
export declare function withAudioFile<T>(file: AudioFileInput, fn: (audioFile: AudioFile) => T | Promise<T>, options?: OpenOptions): Promise<T>;
export declare function withAudioFileSave(file: AudioFileInput, fn: (audioFile: AudioFile) => void): Promise<Uint8Array>;
export declare function withAudioFileSaveToFile(file: string, fn: (audioFile: AudioFile) => void): Promise<void>;
//# sourceMappingURL=with-audio-file.d.ts.map