import { AudioLoader } from './AudioLoader'; /** * Play a sound when a dialog carrying text to read appears: a material help, a tutorial popup. * * Both are watched from here rather than from the components that display them, because the {@link AudioLoader} * is built by {@link MaterialGameSounds} and never leaves it. That is also why the two states are read from * the game rather than from the dialogs: what is heard is the popup existing, not a component mounting. */ export declare const useDialogSound: (audioLoader: AudioLoader) => void;