import { AudioLoader } from './AudioLoader'; /** * Play a sound when a help dialog opens. * * Opening only: `helpDisplay` also changes when the player walks through the items of a same dialog with the * previous/next arrows, and that is one continuous consultation, not a second opening. The ref holds whether * a dialog was open rather than which one, so those steps are silent. * * It starts undefined, and the first run only records the state it found. A player reconnecting while a help * dialog is open receives it in the game state, and that must not sound like they just opened it. */ export declare const useHelpDialogSound: (audioLoader: AudioLoader) => void;