import React from 'react' import { nativePlayerProps } from '../../../utils/nativeMediaPlayers' import Bubble from '../_shared/Bubble' import DismissButton from '../_shared/DismissButton' import { bubbleVariantForState, type AudioItem, type ComposerExtras, type MediaPreloadMode, type MessageAttachmentBaseProps, type MessageAttachmentState, } from '../types' export interface AudioAttachmentSharedProps extends MessageAttachmentBaseProps { /** Audio source URL (`mp3`, `aac`, `wav`, …). */ src?: string /** MIME type hint — typed onto the inline `` element. */ mimeType?: string /** * Filename — used as the download default name (consumed by the * native player's kebab menu). The HTML `