import { BoxProps, ChakraComponent } from '@chakra-ui/react'; import { default as React } from 'react'; declare const thirdPartyServices: readonly ["libsyn", "soundcloud", "spotify"]; export type ThirdPartyAudioType = typeof thirdPartyServices[number]; export type AudioType = ThirdPartyAudioType | "file"; export interface AudioPlayerProps extends BoxProps { /** Required string used to specify the type of audio playback. */ audioType: AudioType; /** Optional string to set the text for the audio player description. */ descriptionText?: string; /** Optional string to set a code snippet provided by Libsyn, SoundCloud or * Spotify; the `AudioPlayer` component will accept the `embedCode` prop. */ embedCode?: string; /** Optional string value used to set the text for a `Heading` component, or * a DS Heading component that can be passed in. */ headingText?: string | JSX.Element; /** Optional string to set the text for a `HelperErrorText` component. */ helperText?: string; /** Optional title to added to the `