import { Sound } from "../../../nlcore/elements/sound"; import { SoundToken } from "@narraleaf/sound"; export type VoiceState = { done: boolean; voice: Sound | null; playVoice: (voice?: Sound | string | URL | null) => Promise; getVoice: () => Sound | null; getVoiceId: () => string | number | null; getVoiceSrc: () => string | null; }; export declare function useVoiceState(): VoiceState;