/** * Startup splash: an optional `#rpg-splash` element in the page (see the `rpg-ui-splash` * classes of `@rpgjs/ui-css`). It is pure HTML and CSS, so the player sees it at the first * paint, before the engine is loaded, and its animation keeps running while the main thread * is busy. The engine fills its label and a module dismisses it once the first screen is ready. * * Client only. Without the element in the page, every function is a no-op. */ export declare const STARTUP_SPLASH_ID = "rpg-splash"; /** Whether the page has a startup splash that is still on screen. */ export declare const hasStartupSplash: () => boolean; /** * Sets the text under the spinner. The engine calls it with the translated * `rpg.transition.loading` text as soon as the i18n service is available. */ export declare const setStartupSplashLabel: (text: string) => void; /** * Fades the splash out, then removes it from the page. * * @example * ```ts * // Once the first screen is ready to be seen * dismissStartupSplash(); * ``` */ export declare const dismissStartupSplash: () => void;