/// import type { WalletAdapter } from '@solana/wallet-adapter-base'; import { z } from 'zod'; import type { ClaimableTokensClient, EntityManagerService, LoggerService, PaymentRouterClient, SolanaClient, SolanaRelayService } from '../../services'; import { type StorageService } from '../../services/Storage/types'; import { AudioFile, ImageFile } from '../../types/File'; import { StemCategory } from '../../types/StemCategory'; import { Mood, Genre, type UpdateTrackRequest, type CreateTrackRequest } from '../generated/default'; export type TracksApiServicesConfig = { storage: StorageService; entityManager?: EntityManagerService; logger?: LoggerService; claimableTokensClient: ClaimableTokensClient; paymentRouterClient: PaymentRouterClient; solanaRelay: SolanaRelayService; solanaClient: SolanaClient; }; export declare const EthCollectibleGatedConditions: z.ZodObject<{ chain: z.ZodLiteral<"eth">; address: z.ZodString; standard: z.ZodUnion<[z.ZodLiteral<"ERC721">, z.ZodLiteral<"ERC1155">]>; name: z.ZodString; slug: z.ZodString; imageUrl: z.ZodOptional; externalLink: z.ZodNullable>; }, "strict", z.ZodTypeAny, { name: string; address: string; chain: "eth"; standard: "ERC721" | "ERC1155"; slug: string; imageUrl?: string | undefined; externalLink?: string | null | undefined; }, { name: string; address: string; chain: "eth"; standard: "ERC721" | "ERC1155"; slug: string; imageUrl?: string | undefined; externalLink?: string | null | undefined; }>; export declare const SolCollectibleGatedConditions: z.ZodObject<{ chain: z.ZodLiteral<"sol">; address: z.ZodString; name: z.ZodString; imageUrl: z.ZodOptional; externalLink: z.ZodNullable>; }, "strict", z.ZodTypeAny, { name: string; address: string; chain: "sol"; imageUrl?: string | undefined; externalLink?: string | null | undefined; }, { name: string; address: string; chain: "sol"; imageUrl?: string | undefined; externalLink?: string | null | undefined; }>; export declare const CollectibleGatedConditions: z.ZodObject<{ nftCollection: z.ZodOptional; address: z.ZodString; standard: z.ZodUnion<[z.ZodLiteral<"ERC721">, z.ZodLiteral<"ERC1155">]>; name: z.ZodString; slug: z.ZodString; imageUrl: z.ZodOptional; externalLink: z.ZodNullable>; }, "strict", z.ZodTypeAny, { name: string; address: string; chain: "eth"; standard: "ERC721" | "ERC1155"; slug: string; imageUrl?: string | undefined; externalLink?: string | null | undefined; }, { name: string; address: string; chain: "eth"; standard: "ERC721" | "ERC1155"; slug: string; imageUrl?: string | undefined; externalLink?: string | null | undefined; }>, z.ZodObject<{ chain: z.ZodLiteral<"sol">; address: z.ZodString; name: z.ZodString; imageUrl: z.ZodOptional; externalLink: z.ZodNullable>; }, "strict", z.ZodTypeAny, { name: string; address: string; chain: "sol"; imageUrl?: string | undefined; externalLink?: string | null | undefined; }, { name: string; address: string; chain: "sol"; imageUrl?: string | undefined; externalLink?: string | null | undefined; }>]>>; }, "strict", z.ZodTypeAny, { nftCollection?: { name: string; address: string; chain: "eth"; standard: "ERC721" | "ERC1155"; slug: string; imageUrl?: string | undefined; externalLink?: string | null | undefined; } | { name: string; address: string; chain: "sol"; imageUrl?: string | undefined; externalLink?: string | null | undefined; } | undefined; }, { nftCollection?: { name: string; address: string; chain: "eth"; standard: "ERC721" | "ERC1155"; slug: string; imageUrl?: string | undefined; externalLink?: string | null | undefined; } | { name: string; address: string; chain: "sol"; imageUrl?: string | undefined; externalLink?: string | null | undefined; } | undefined; }>; export declare const FollowGatedConditions: z.ZodObject<{ followUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { followUserId: number; }, { followUserId: number; }>; export declare const TipGatedConditions: z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>; export declare const TokenGatedConditions: z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>; export declare const USDCPurchaseConditions: z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>; export declare const UploadStemMetadataSchema: z.ZodObject<{ category: z.ZodEnum<[StemCategory, ...StemCategory[]]>; parentTrackId: z.ZodEffects; }, "strip", z.ZodTypeAny, { category: StemCategory; parentTrackId: number; }, { category: StemCategory; parentTrackId: string; }>; export declare const UploadTrackMetadataSchema: z.ZodObject<{ trackId: z.ZodOptional>; ownerId: z.ZodOptional; aiAttributionUserId: z.ZodOptional>; description: z.ZodOptional>; fieldVisibility: z.ZodOptional; tags: z.ZodOptional; genre: z.ZodOptional; share: z.ZodOptional; playCount: z.ZodOptional; remixes: z.ZodOptional; }, "strip", z.ZodTypeAny, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }>>; genre: z.ZodEnum<[Genre, ...Genre[]]>; isrc: z.ZodOptional>; isUnlisted: z.ZodOptional; iswc: z.ZodOptional>; license: z.ZodOptional>; mood: z.ZodOptional>>; isStreamGated: z.ZodOptional; streamConditions: z.ZodNullable, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>; accessAuthorities: z.ZodOptional>>; isDownloadGated: z.ZodOptional; downloadConditions: z.ZodNullable, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>; releaseDate: z.ZodOptional; remixOf: z.ZodOptional; }, "strip", z.ZodTypeAny, { parentTrackId: number; }, { parentTrackId: string; }>, "many">; }, "strict", z.ZodTypeAny, { tracks: { parentTrackId: number; }[]; }, { tracks: { parentTrackId: string; }[]; }>>; stemOf: z.ZodOptional; parentTrackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { category: StemCategory; parentTrackId: number; }, { category: StemCategory; parentTrackId: string; }>>; tags: z.ZodNullable>; title: z.ZodString; duration: z.ZodOptional; previewStartSeconds: z.ZodOptional; placementHosts: z.ZodOptional; audioUploadId: z.ZodOptional; trackCid: z.ZodOptional; previewCid: z.ZodOptional; origFileCid: z.ZodOptional; origFilename: z.ZodOptional; coverArtSizes: z.ZodOptional; isDownloadable: z.ZodOptional; isOriginalAvailable: z.ZodOptional; ddexReleaseIds: z.ZodOptional>>; ddexApp: z.ZodNullable>; artists: z.ZodNullable; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; resourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; indirectResourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; rightsController: z.ZodOptional; rights_share_unknown: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }>>>; copyrightLine: z.ZodOptional>>; producerCopyrightLine: z.ZodOptional>>; parentalWarningType: z.ZodOptional>; bpm: z.ZodOptional>; isCustomBpm: z.ZodOptional; musicalKey: z.ZodOptional>; isCustomMusicalKey: z.ZodOptional; audioAnalysisErrorCount: z.ZodOptional; commentsDisabled: z.ZodOptional; isScheduledRelease: z.ZodOptional; }, "strip", z.ZodTypeAny, { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: number | undefined; ownerId?: number | undefined; aiAttributionUserId?: number | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: number; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: number; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }, { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: string | undefined; ownerId?: number | undefined; aiAttributionUserId?: string | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: string; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: string; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }>; export type TrackMetadata = z.input; export declare const UploadTrackFilesProgressEventSchema: z.ZodObject<{ total: z.ZodNumber; loaded: z.ZodNumber; transcode: z.ZodNumber; key: z.ZodEnum<["audio", "image"]>; }, "strip", z.ZodTypeAny, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }>; /** * The progress event emitted during track file uploads */ type UploadTrackFilesProgressEvent = z.input; export declare const UploadTrackFilesProgressHandlerSchema: z.ZodFunction; }, "strip", z.ZodTypeAny, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }>], z.ZodUnknown>, z.ZodVoid>; export type UploadTrackFilesProgressHandler = ( /** * Overall progress percentage (0-1) */ progress: number, /** * The progress event */ event: UploadTrackFilesProgressEvent) => void; export declare const UploadTrackSchema: z.ZodObject<{ userId: z.ZodEffects; audioFile: z.ZodEffects; name: z.ZodOptional; type: z.ZodOptional; }, "strip", z.ZodTypeAny, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }>, z.ZodType, z.ZodObject<{ uri: z.ZodString; name: z.ZodNullable; type: z.ZodNullable; copyError: z.ZodOptional; fileCopyUri: z.ZodNullable>; size: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>]>, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>; imageFile: z.ZodEffects; name: z.ZodOptional; type: z.ZodOptional; }, "strip", z.ZodTypeAny, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }>, z.ZodType, z.ZodObject<{ uri: z.ZodString; name: z.ZodNullable; type: z.ZodNullable; copyError: z.ZodOptional; fileCopyUri: z.ZodNullable>; size: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>]>, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>; metadata: z.ZodObject<{ trackId: z.ZodOptional>; ownerId: z.ZodOptional; aiAttributionUserId: z.ZodOptional>; description: z.ZodOptional>; fieldVisibility: z.ZodOptional; tags: z.ZodOptional; genre: z.ZodOptional; share: z.ZodOptional; playCount: z.ZodOptional; remixes: z.ZodOptional; }, "strip", z.ZodTypeAny, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }>>; genre: z.ZodEnum<[Genre, ...Genre[]]>; isrc: z.ZodOptional>; isUnlisted: z.ZodOptional; iswc: z.ZodOptional>; license: z.ZodOptional>; mood: z.ZodOptional>>; isStreamGated: z.ZodOptional; streamConditions: z.ZodNullable, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>; accessAuthorities: z.ZodOptional>>; isDownloadGated: z.ZodOptional; downloadConditions: z.ZodNullable, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>; releaseDate: z.ZodOptional; remixOf: z.ZodOptional; }, "strip", z.ZodTypeAny, { parentTrackId: number; }, { parentTrackId: string; }>, "many">; }, "strict", z.ZodTypeAny, { tracks: { parentTrackId: number; }[]; }, { tracks: { parentTrackId: string; }[]; }>>; stemOf: z.ZodOptional; parentTrackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { category: StemCategory; parentTrackId: number; }, { category: StemCategory; parentTrackId: string; }>>; tags: z.ZodNullable>; title: z.ZodString; duration: z.ZodOptional; previewStartSeconds: z.ZodOptional; placementHosts: z.ZodOptional; audioUploadId: z.ZodOptional; trackCid: z.ZodOptional; previewCid: z.ZodOptional; origFileCid: z.ZodOptional; origFilename: z.ZodOptional; coverArtSizes: z.ZodOptional; isDownloadable: z.ZodOptional; isOriginalAvailable: z.ZodOptional; ddexReleaseIds: z.ZodOptional>>; ddexApp: z.ZodNullable>; artists: z.ZodNullable; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; resourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; indirectResourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; rightsController: z.ZodOptional; rights_share_unknown: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }>>>; copyrightLine: z.ZodOptional>>; producerCopyrightLine: z.ZodOptional>>; parentalWarningType: z.ZodOptional>; bpm: z.ZodOptional>; isCustomBpm: z.ZodOptional; musicalKey: z.ZodOptional>; isCustomMusicalKey: z.ZodOptional; audioAnalysisErrorCount: z.ZodOptional; commentsDisabled: z.ZodOptional; isScheduledRelease: z.ZodOptional; }, "strict", z.ZodTypeAny, { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: number | undefined; ownerId?: number | undefined; aiAttributionUserId?: number | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: number; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: number; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }, { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: string | undefined; ownerId?: number | undefined; aiAttributionUserId?: string | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: string; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: string; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }>; onProgress: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }>], z.ZodUnknown>, z.ZodVoid>>; }, "strict", z.ZodTypeAny, { userId: number; metadata: { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: number | undefined; ownerId?: number | undefined; aiAttributionUserId?: number | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: number; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: number; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }; audioFile: (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }) & (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined); imageFile: (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }) & (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined); onProgress?: ((args_0: number, args_1: { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, ...args_2: unknown[]) => void) | undefined; }, { userId: string; metadata: { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: string | undefined; ownerId?: number | undefined; aiAttributionUserId?: string | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: string; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: string; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }; audioFile: (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }) & (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined); imageFile: (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }) & (File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined); onProgress?: ((args_0: number, args_1: { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, ...args_2: unknown[]) => void) | undefined; }>; export type UploadTrackRequest = Omit, 'onProgress'> & { onProgress?: UploadTrackFilesProgressHandler; }; export declare const UploadTrackFilesSchema: z.ZodObject<{ audioFile: z.ZodOptional; name: z.ZodOptional; type: z.ZodOptional; }, "strip", z.ZodTypeAny, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }>, z.ZodType, z.ZodObject<{ uri: z.ZodString; name: z.ZodNullable; type: z.ZodNullable; copyError: z.ZodOptional; fileCopyUri: z.ZodNullable>; size: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>]>, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>>; imageFile: z.ZodOptional; name: z.ZodOptional; type: z.ZodOptional; }, "strip", z.ZodTypeAny, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }>, z.ZodType, z.ZodObject<{ uri: z.ZodString; name: z.ZodNullable; type: z.ZodNullable; copyError: z.ZodOptional; fileCopyUri: z.ZodNullable>; size: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>]>, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>>; fileMetadata: z.ZodOptional; previewStartSeconds: z.ZodOptional; }, "strip", z.ZodTypeAny, { placementHosts?: string | undefined; previewStartSeconds?: number | undefined; }, { placementHosts?: string | undefined; previewStartSeconds?: number | undefined; }>>; onProgress: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }>], z.ZodUnknown>, z.ZodVoid>>; }, "strict", z.ZodTypeAny, { audioFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; imageFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; fileMetadata?: { placementHosts?: string | undefined; previewStartSeconds?: number | undefined; } | undefined; onProgress?: ((args_0: number, args_1: { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, ...args_2: unknown[]) => void) | undefined; }, { audioFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; imageFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; fileMetadata?: { placementHosts?: string | undefined; previewStartSeconds?: number | undefined; } | undefined; onProgress?: ((args_0: number, args_1: { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, ...args_2: unknown[]) => void) | undefined; }>; export type UploadTrackFilesRequest = Omit, 'onProgress'> & { onProgress?: UploadTrackFilesProgressHandler; }; export declare const UpdateTrackSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; metadata: z.ZodObject<{ trackId: z.ZodOptional>>; ownerId: z.ZodOptional>; aiAttributionUserId: z.ZodOptional>>; description: z.ZodOptional>>; fieldVisibility: z.ZodOptional; tags: z.ZodOptional; genre: z.ZodOptional; share: z.ZodOptional; playCount: z.ZodOptional; remixes: z.ZodOptional; }, "strip", z.ZodTypeAny, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }>>>; genre: z.ZodOptional>; isrc: z.ZodOptional>>; isUnlisted: z.ZodOptional>; iswc: z.ZodOptional>>; license: z.ZodOptional>>; mood: z.ZodOptional>>>; isStreamGated: z.ZodOptional>; streamConditions: z.ZodOptional, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>>; accessAuthorities: z.ZodOptional>>>; isDownloadGated: z.ZodOptional>; downloadConditions: z.ZodOptional, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>>; releaseDate: z.ZodOptional>; remixOf: z.ZodOptional; }, "strip", z.ZodTypeAny, { parentTrackId: number; }, { parentTrackId: string; }>, "many">; }, "strict", z.ZodTypeAny, { tracks: { parentTrackId: number; }[]; }, { tracks: { parentTrackId: string; }[]; }>>>; stemOf: z.ZodOptional; parentTrackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { category: StemCategory; parentTrackId: number; }, { category: StemCategory; parentTrackId: string; }>>>; tags: z.ZodOptional>>; title: z.ZodOptional; duration: z.ZodOptional>; previewStartSeconds: z.ZodOptional>; placementHosts: z.ZodOptional>; audioUploadId: z.ZodOptional>; trackCid: z.ZodOptional>; previewCid: z.ZodOptional>; origFileCid: z.ZodOptional>; origFilename: z.ZodOptional>; coverArtSizes: z.ZodOptional>; isDownloadable: z.ZodOptional>; isOriginalAvailable: z.ZodOptional>; ddexReleaseIds: z.ZodOptional>>>; ddexApp: z.ZodOptional>>; artists: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>>; resourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>>; indirectResourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>>; rightsController: z.ZodOptional; rights_share_unknown: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }>>>>; copyrightLine: z.ZodOptional>>>; producerCopyrightLine: z.ZodOptional>>>; parentalWarningType: z.ZodOptional>>; bpm: z.ZodOptional>>; isCustomBpm: z.ZodOptional>; musicalKey: z.ZodOptional>>; isCustomMusicalKey: z.ZodOptional>; audioAnalysisErrorCount: z.ZodOptional>; commentsDisabled: z.ZodOptional>; isScheduledRelease: z.ZodOptional>; }, "strict", z.ZodTypeAny, { trackId?: number | undefined; ownerId?: number | undefined; aiAttributionUserId?: number | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; genre?: Genre | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: number; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: number; } | undefined; tags?: string | null | undefined; title?: string | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }, { trackId?: string | undefined; ownerId?: number | undefined; aiAttributionUserId?: string | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; genre?: Genre | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: string; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: string; } | undefined; tags?: string | null | undefined; title?: string | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }>; audioFile: z.ZodOptional; name: z.ZodOptional; type: z.ZodOptional; }, "strip", z.ZodTypeAny, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }>, z.ZodType, z.ZodObject<{ uri: z.ZodString; name: z.ZodNullable; type: z.ZodNullable; copyError: z.ZodOptional; fileCopyUri: z.ZodNullable>; size: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>]>, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>>; imageFile: z.ZodOptional; name: z.ZodOptional; type: z.ZodOptional; }, "strip", z.ZodTypeAny, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }, { buffer: Buffer; name?: string | undefined; type?: string | undefined; }>, z.ZodType, z.ZodObject<{ uri: z.ZodString; name: z.ZodNullable; type: z.ZodNullable; copyError: z.ZodOptional; fileCopyUri: z.ZodNullable>; size: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>]>, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }, File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; }>>; generatePreview: z.ZodOptional; onProgress: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, { key: "image" | "audio"; total: number; loaded: number; transcode: number; }>], z.ZodUnknown>, z.ZodVoid>>; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; metadata: { trackId?: number | undefined; ownerId?: number | undefined; aiAttributionUserId?: number | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; genre?: Genre | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: number; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: number; } | undefined; tags?: string | null | undefined; title?: string | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }; audioFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; imageFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; generatePreview?: boolean | undefined; onProgress?: ((args_0: number, args_1: { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, ...args_2: unknown[]) => void) | undefined; }, { trackId: string; userId: string; metadata: { trackId?: string | undefined; ownerId?: number | undefined; aiAttributionUserId?: string | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; genre?: Genre | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: string; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: string; } | undefined; tags?: string | null | undefined; title?: string | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }; audioFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; imageFile?: File | { buffer: Buffer; name?: string | undefined; type?: string | undefined; } | { name: string | null; type: string | null; uri: string; copyError?: string | undefined; fileCopyUri?: string | null | undefined; size?: number | null | undefined; } | undefined; generatePreview?: boolean | undefined; onProgress?: ((args_0: number, args_1: { key: "image" | "audio"; total: number; loaded: number; transcode: number; }, ...args_2: unknown[]) => void) | undefined; }>; export type EntityManagerUpdateTrackRequest = Omit, 'onProgress'> & { onProgress?: UploadTrackFilesProgressHandler; }; export declare const DeleteTrackSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; }, { trackId: string; userId: string; }>; export type EntityManagerDeleteTrackRequest = z.input; export declare const FavoriteTrackSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; metadata: z.ZodOptional; }, "strict", z.ZodTypeAny, { isSaveOfRepost?: boolean | undefined; }, { isSaveOfRepost?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; metadata?: { isSaveOfRepost?: boolean | undefined; } | undefined; }, { trackId: string; userId: string; metadata?: { isSaveOfRepost?: boolean | undefined; } | undefined; }>; export type EntityManagerFavoriteTrackRequest = z.input; export declare const UnfavoriteTrackSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; }, { trackId: string; userId: string; }>; export type EntityManagerUnfavoriteTrackRequest = z.input; export declare const RepostTrackSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; metadata: z.ZodOptional; }, "strict", z.ZodTypeAny, { isRepostOfRepost?: boolean | undefined; }, { isRepostOfRepost?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; metadata?: { isRepostOfRepost?: boolean | undefined; } | undefined; }, { trackId: string; userId: string; metadata?: { isRepostOfRepost?: boolean | undefined; } | undefined; }>; export type EntityManagerRepostTrackRequest = z.input; export declare const UnrepostTrackSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; }, { trackId: string; userId: string; }>; export type EntityManagerUnrepostTrackRequest = z.input; export declare const RecordTrackDownloadSchema: z.ZodObject<{ userId: z.ZodOptional>; trackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { trackId: number; userId?: number | undefined; }, { trackId: string; userId?: string | undefined; }>; export declare const ShareTrackSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; }, { trackId: string; userId: string; }>; export type EntityManagerShareTrackRequest = z.input; export type EntityManagerRecordTrackDownloadRequest = z.input; export declare const GetPurchaseTrackInstructionsSchema: z.ZodObject<{ userId: z.ZodEffects; trackId: z.ZodEffects; price: z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>; extraAmount: z.ZodOptional>; includeNetworkCut: z.ZodOptional; }, "strip", z.ZodTypeAny, { trackId: number; userId: number; price: number | bigint; extraAmount?: number | bigint | undefined; includeNetworkCut?: boolean | undefined; }, { trackId: string; userId: string; price: number | bigint; extraAmount?: number | bigint | undefined; includeNetworkCut?: boolean | undefined; }>; export type GetPurchaseTrackInstructionsRequest = z.input; export declare const PurchaseTrackSchema: z.ZodObject<{ wallet: z.ZodOptional, z.ZodType]>>; walletAdapter: z.ZodOptional, z.ZodTypeDef, Pick>>; userId: z.ZodEffects; trackId: z.ZodEffects; price: z.ZodUnion<[z.ZodNumber, z.ZodBigInt]>; extraAmount: z.ZodOptional>; includeNetworkCut: z.ZodOptional; }, "strict", z.ZodTypeAny, { trackId: number; userId: number; price: number | bigint; wallet?: import("@solana/web3.js").PublicKey | undefined; walletAdapter?: Pick | undefined; extraAmount?: number | bigint | undefined; includeNetworkCut?: boolean | undefined; }, { trackId: string; userId: string; price: number | bigint; wallet?: string | import("@solana/web3.js").PublicKey | undefined; walletAdapter?: Pick | undefined; extraAmount?: number | bigint | undefined; includeNetworkCut?: boolean | undefined; }>; export type PurchaseTrackRequest = z.input; declare const UploadResponseSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["new", "error", "busy", "timeout", "audio_analysis", "busy_audio_analysis", "done"]>; orig_file_cid: z.ZodString; orig_filename: z.ZodString; results: z.ZodRecord; probe: z.ZodOptional; }, "strip", z.ZodTypeAny, { duration?: string | undefined; }, { duration?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { format?: { duration?: string | undefined; } | undefined; }, { format?: { duration?: string | undefined; } | undefined; }>>; audio_analysis_results: z.ZodNullable; key: z.ZodOptional; }, "strip", z.ZodTypeAny, { bpm?: number | undefined; key?: string | undefined; }, { bpm?: number | undefined; key?: string | undefined; }>>>; audio_analysis_error_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }>; export type UploadResponse = z.input; export declare const PublishTrackSchema: z.ZodObject<{ userId: z.ZodEffects; metadata: z.ZodObject<{ trackId: z.ZodOptional>; ownerId: z.ZodOptional; aiAttributionUserId: z.ZodOptional>; description: z.ZodOptional>; fieldVisibility: z.ZodOptional; tags: z.ZodOptional; genre: z.ZodOptional; share: z.ZodOptional; playCount: z.ZodOptional; remixes: z.ZodOptional; }, "strip", z.ZodTypeAny, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }, { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; }>>; genre: z.ZodEnum<[Genre, ...Genre[]]>; isrc: z.ZodOptional>; isUnlisted: z.ZodOptional; iswc: z.ZodOptional>; license: z.ZodOptional>; mood: z.ZodOptional>>; isStreamGated: z.ZodOptional; streamConditions: z.ZodNullable, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>; accessAuthorities: z.ZodOptional>>; isDownloadGated: z.ZodOptional; downloadConditions: z.ZodNullable, z.ZodObject<{ tipUserId: z.ZodNumber; }, "strict", z.ZodTypeAny, { tipUserId: number; }, { tipUserId: number; }>, z.ZodObject<{ usdcPurchase: z.ZodObject<{ price: z.ZodNumber; splits: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { splits: { userId: number; percentage: number; }[]; price: number; }, { splits: { userId: number; percentage: number; }[]; price: number; }>; }, "strict", z.ZodTypeAny, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }, { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; }>, z.ZodObject<{ tokenGate: z.ZodObject<{ tokenMint: z.ZodString; tokenAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokenMint: string; tokenAmount: number; }, { tokenMint: string; tokenAmount: number; }>; }, "strict", z.ZodTypeAny, { tokenGate: { tokenMint: string; tokenAmount: number; }; }, { tokenGate: { tokenMint: string; tokenAmount: number; }; }>]>>>; releaseDate: z.ZodOptional; remixOf: z.ZodOptional; }, "strip", z.ZodTypeAny, { parentTrackId: number; }, { parentTrackId: string; }>, "many">; }, "strict", z.ZodTypeAny, { tracks: { parentTrackId: number; }[]; }, { tracks: { parentTrackId: string; }[]; }>>; stemOf: z.ZodOptional; parentTrackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { category: StemCategory; parentTrackId: number; }, { category: StemCategory; parentTrackId: string; }>>; tags: z.ZodNullable>; title: z.ZodString; duration: z.ZodOptional; previewStartSeconds: z.ZodOptional; placementHosts: z.ZodOptional; audioUploadId: z.ZodOptional; trackCid: z.ZodOptional; previewCid: z.ZodOptional; origFileCid: z.ZodOptional; origFilename: z.ZodOptional; coverArtSizes: z.ZodOptional; isDownloadable: z.ZodOptional; isOriginalAvailable: z.ZodOptional; ddexReleaseIds: z.ZodOptional>>; ddexApp: z.ZodNullable>; artists: z.ZodNullable; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; resourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; indirectResourceContributors: z.ZodOptional; sequence_number: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; sequence_number?: number | undefined; }, { name: string; roles: string[]; sequence_number?: number | undefined; }>, "many">>>; rightsController: z.ZodOptional; rights_share_unknown: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }, { name: string; roles: string[]; rights_share_unknown?: string | undefined; }>>>; copyrightLine: z.ZodOptional>>; producerCopyrightLine: z.ZodOptional>>; parentalWarningType: z.ZodOptional>; bpm: z.ZodOptional>; isCustomBpm: z.ZodOptional; musicalKey: z.ZodOptional>; isCustomMusicalKey: z.ZodOptional; audioAnalysisErrorCount: z.ZodOptional; commentsDisabled: z.ZodOptional; isScheduledRelease: z.ZodOptional; }, "strict", z.ZodTypeAny, { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: number | undefined; ownerId?: number | undefined; aiAttributionUserId?: number | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: number; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: number; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }, { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: string | undefined; ownerId?: number | undefined; aiAttributionUserId?: string | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: string; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: string; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }>; audioUploadResponse: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["new", "error", "busy", "timeout", "audio_analysis", "busy_audio_analysis", "done"]>; orig_file_cid: z.ZodString; orig_filename: z.ZodString; results: z.ZodRecord; probe: z.ZodOptional; }, "strip", z.ZodTypeAny, { duration?: string | undefined; }, { duration?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { format?: { duration?: string | undefined; } | undefined; }, { format?: { duration?: string | undefined; } | undefined; }>>; audio_analysis_results: z.ZodNullable; key: z.ZodOptional; }, "strip", z.ZodTypeAny, { bpm?: number | undefined; key?: string | undefined; }, { bpm?: number | undefined; key?: string | undefined; }>>>; audio_analysis_error_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }>; imageUploadResponse: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["new", "error", "busy", "timeout", "audio_analysis", "busy_audio_analysis", "done"]>; orig_file_cid: z.ZodString; orig_filename: z.ZodString; results: z.ZodRecord; probe: z.ZodOptional; }, "strip", z.ZodTypeAny, { duration?: string | undefined; }, { duration?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { format?: { duration?: string | undefined; } | undefined; }, { format?: { duration?: string | undefined; } | undefined; }>>; audio_analysis_results: z.ZodNullable; key: z.ZodOptional; }, "strip", z.ZodTypeAny, { bpm?: number | undefined; key?: string | undefined; }, { bpm?: number | undefined; key?: string | undefined; }>>>; audio_analysis_error_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }>; }, "strict", z.ZodTypeAny, { userId: number; metadata: { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: number | undefined; ownerId?: number | undefined; aiAttributionUserId?: number | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: number; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: number; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }; audioUploadResponse: { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }; imageUploadResponse: { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }; }, { userId: string; metadata: { genre: "Electronic" | "Rock" | "Metal" | "Alternative" | "Hip-Hop/Rap" | "Experimental" | "Punk" | "Folk" | "Pop" | "Ambient" | "Soundtrack" | "World" | "Jazz" | "Acoustic" | "Funk" | "R&B/Soul" | "Devotional" | "Classical" | "Reggae" | "Podcasts" | "Country" | "Spoken Word" | "Comedy" | "Blues" | "Kids" | "Audiobooks" | "Latin" | "Lo-Fi" | "Hyperpop" | "Dancehall" | "Techno" | "Trap" | "House" | "Tech House" | "Deep House" | "Disco" | "Electro" | "Jungle" | "Progressive House" | "Hardstyle" | "Glitch Hop" | "Trance" | "Future Bass" | "Future House" | "Tropical House" | "Downtempo" | "Drum & Bass" | "Dubstep" | "Jersey Club" | "Vaporwave" | "Moombahton"; title: string; trackId?: string | undefined; ownerId?: number | undefined; aiAttributionUserId?: string | undefined; description?: string | null | undefined; fieldVisibility?: { mood?: boolean | undefined; tags?: boolean | undefined; genre?: boolean | undefined; share?: boolean | undefined; playCount?: boolean | undefined; remixes?: boolean | undefined; } | undefined; isrc?: string | null | undefined; isUnlisted?: boolean | undefined; iswc?: string | null | undefined; license?: string | null | undefined; mood?: Mood | null | undefined; isStreamGated?: boolean | undefined; streamConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; accessAuthorities?: string[] | null | undefined; isDownloadGated?: boolean | undefined; downloadConditions?: { followUserId: number; } | { tipUserId: number; } | { tokenGate: { tokenMint: string; tokenAmount: number; }; } | { usdcPurchase: { splits: { userId: number; percentage: number; }[]; price: number; }; } | null | undefined; releaseDate?: Date | undefined; remixOf?: { tracks: { parentTrackId: string; }[]; } | undefined; stemOf?: { category: StemCategory; parentTrackId: string; } | undefined; tags?: string | null | undefined; duration?: number | undefined; previewStartSeconds?: number | undefined; placementHosts?: string | undefined; audioUploadId?: string | undefined; trackCid?: string | undefined; previewCid?: string | undefined; origFileCid?: string | undefined; origFilename?: string | undefined; coverArtSizes?: string | undefined; isDownloadable?: boolean | undefined; isOriginalAvailable?: boolean | undefined; ddexReleaseIds?: Record | null | undefined; ddexApp?: string | null | undefined; artists?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; resourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; indirectResourceContributors?: { name: string; roles: string[]; sequence_number?: number | undefined; }[] | null | undefined; rightsController?: { name: string; roles: string[]; rights_share_unknown?: string | undefined; } | null | undefined; copyrightLine?: { year: string; text: string; } | null | undefined; producerCopyrightLine?: { year: string; text: string; } | null | undefined; parentalWarningType?: string | null | undefined; bpm?: number | null | undefined; isCustomBpm?: boolean | undefined; musicalKey?: string | null | undefined; isCustomMusicalKey?: boolean | undefined; audioAnalysisErrorCount?: number | undefined; commentsDisabled?: boolean | undefined; isScheduledRelease?: boolean | undefined; }; audioUploadResponse: { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }; imageUploadResponse: { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }; }>; export type PublishTrackRequest = z.input; export declare const PublishStemSchema: z.ZodObject<{ userId: z.ZodEffects; metadata: z.ZodObject<{ category: z.ZodEnum<[StemCategory, ...StemCategory[]]>; parentTrackId: z.ZodEffects; }, "strict", z.ZodTypeAny, { category: StemCategory; parentTrackId: number; }, { category: StemCategory; parentTrackId: string; }>; audioUploadResponse: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["new", "error", "busy", "timeout", "audio_analysis", "busy_audio_analysis", "done"]>; orig_file_cid: z.ZodString; orig_filename: z.ZodString; results: z.ZodRecord; probe: z.ZodOptional; }, "strip", z.ZodTypeAny, { duration?: string | undefined; }, { duration?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { format?: { duration?: string | undefined; } | undefined; }, { format?: { duration?: string | undefined; } | undefined; }>>; audio_analysis_results: z.ZodNullable; key: z.ZodOptional; }, "strip", z.ZodTypeAny, { bpm?: number | undefined; key?: string | undefined; }, { bpm?: number | undefined; key?: string | undefined; }>>>; audio_analysis_error_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }, { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }>; }, "strict", z.ZodTypeAny, { userId: number; metadata: { category: StemCategory; parentTrackId: number; }; audioUploadResponse: { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }; }, { userId: string; metadata: { category: StemCategory; parentTrackId: string; }; audioUploadResponse: { status: "error" | "timeout" | "new" | "busy" | "audio_analysis" | "busy_audio_analysis" | "done"; id: string; orig_file_cid: string; orig_filename: string; results: Record; audio_analysis_error_count: number; probe?: { format?: { duration?: string | undefined; } | undefined; } | undefined; audio_analysis_results?: { bpm?: number | undefined; key?: string | undefined; } | null | undefined; }; }>; export type PublishStemRequest = z.input; export type UploadTrackFilesTask = { start: () => Promise<{ audioUploadResponse?: UploadResponse; imageUploadResponse?: UploadResponse; }>; abort: () => void; }; export type TrackFileUploadParams = { audioFile?: z.input; imageFile?: z.input; onProgress?: UploadTrackFilesProgressHandler; /** When true, regenerate the track preview (e.g. when preview start or track CID changed). Used for update. */ generatePreview?: boolean; }; export type CreateTrackRequestWithFiles = CreateTrackRequest & TrackFileUploadParams; export type UpdateTrackRequestWithFiles = UpdateTrackRequest & TrackFileUploadParams; export {};