import { buildProps } from '@kankan-components/utils'
import type { ExtractPropTypes } from 'vue'
import type Audio from './audio.vue'

export const audioProps = buildProps({
  src: { type: String },
})

export type AudioProps = ExtractPropTypes<typeof audioProps>

export type AudioInstance = InstanceType<typeof Audio>
