import type { AudioPlayer } from "../platform.js"; /** * The result of a synthesis call: raw samples plus the conveniences most * applications need (playback, WAV export, blob creation). */ export declare class SynthesizedAudio { #private; readonly samples: Float32Array; readonly sampleRate: number; constructor(samples: Float32Array, sampleRate: number, player?: AudioPlayer); /** Length of the signal in seconds. */ get duration(): number; /** Encode the signal as a 16 bit PCM WAV file. */ toWav(): ArrayBuffer; /** Encode the signal as an `audio/wav` blob, ready for an `