/** * Beatoven.ai Music Generation Handler * * Async track-composition API. Submits a compose-track request, polls the * task status, and downloads the resulting audio. * * @module music/providers/BeatovenMusic * @see https://www.beatoven.ai/api-docs */ import type { MusicAudioFormat, MusicHandler, MusicOptions, MusicResult } from "../../types/index.js"; /** * Beatoven.ai Music Generation Handler. * * Beatoven is a royalty-free music generation API tuned for * background / cinematic / brand music. Tracks are composed * asynchronously: submit a prompt, poll the task, then download. */ export declare class BeatovenMusic implements MusicHandler { readonly maxDurationSeconds = 300; readonly supportedFormats: readonly MusicAudioFormat[]; readonly supportedGenres: readonly string[]; private readonly apiKey; private readonly baseUrl; constructor(apiKey?: string); isConfigured(): boolean; generate(options: MusicOptions): Promise; private submitCompose; private pollUntilComposed; private fetchTaskStatus; private downloadTrack; }