/**
 * Music Generation capability — generate ~3-minute MP3 tracks via the
 * BlockRun `/v1/audio/generations` endpoint. Uses x402 payment (Base
 * or Solana) and shares the same pattern as VideoGen.
 *
 * Default model `minimax/music-2.5+` bills $0.1575/call and returns a
 * ~3-minute track regardless of duration hint. Generation takes 1-3
 * minutes — the HTTP connection stays open until the upstream job
 * finishes, so the caller issues a single POST and waits.
 *
 * The generated URL is time-limited (~24h) from the upstream CDN, so
 * the tool downloads the MP3 to disk immediately and stores the local
 * path. Optional contentId integration records the track as a budget-
 * tracked asset on a Content piece.
 */
import type { CapabilityHandler } from '../agent/types.js';
import type { ContentLibrary } from '../content/library.js';
export interface MusicGenDeps {
    library?: ContentLibrary;
    onContentChange?: () => void | Promise<void>;
}
export declare function createMusicGenCapability(deps?: MusicGenDeps): CapabilityHandler;
export declare const musicGenCapability: CapabilityHandler;
