/**
 * 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';
import { type GatewayModel } from '../gateway-models.js';
export interface MusicGenDeps {
    library?: ContentLibrary;
    onContentChange?: () => void | Promise<void>;
}
/**
 * Resolve the per-track USD cost for the budget check + asset record. The `model`
 * param is caller-selectable, so a pricier non-default music model would be
 * charged its real price by the gateway but counted at the flat default
 * otherwise — the same undercount class the ImageGen/VideoGen fixes close. Take
 * the higher of the live catalog price (already margin-inclusive via
 * estimateCostUsd) and the flat PRICE_USD. Exported for tests.
 */
export declare function resolveMusicUnitCost(catalogModel: GatewayModel | null): number;
export declare function createMusicGenCapability(deps?: MusicGenDeps): CapabilityHandler;
export declare const musicGenCapability: CapabilityHandler;
