import { DialPadSoundMap } from './DialPadUtils'; export declare type UseKeyAudioOptions = { sounds?: DialPadSoundMap; /** * custom audio process, you can custom audio process when you want to custom audio process */ processor?: (audio: HTMLAudioElement) => void; }; /** * Custom hook that handles playing audio for key presses in a dial pad. * * @param audioOption - The audio options for configuring the hook. * @returns A function that plays the audio for a given key. */ export declare const useKeyAudio: ({ sounds, processor }: UseKeyAudioOptions) => (key: string) => false | Promise;