/** A single audio source file at a specific quality and format. */ export type AudioSource = { /** The audio bitrate in kbps. */ audioBitrate: number /** The audio format (e.g. `'mp3'`, `'ogg'`). */ format: string /** The audio quality label. */ quality: string /** The fully resolved audio URL. */ url: string } /** * An audio track from Wix Media. * * @example * ```tsx * import type { Audio } from '@wix/editor-react-types'; * * interface MyComponentProps { * audio?: Audio; * } * ``` */ export type Audio = { /** The fully resolved audio URL. */ url: string /** The audio artist name. */ artist?: string /** The audio track title. */ title?: string /** The audio duration in seconds. */ duration?: number /** The audio file name. */ name?: string /** All available audio sources at different quality levels and formats. */ audio?: Array }