/** * Checks if the current runtime is Vite development mode. * Detects Vite dev client script injected in development. * Assumes default Vite client path starts with `/@vite/client`. * * @returns {boolean} * @public */ declare function isViteDevelopmentMode(): boolean; /** * Initializes Pixi VN development tools by syncing game state with the Vite dev server. * Sends assets manifest and canvas options. * * **Note:** This function only operates in Vite development mode and is a no-op in production. * * **Call this function:** After RegisteredCharacters and RegisteredLabels are populated, * typically in your client-side initialization code. * * @example * ```ts * // In your main game initialization file * import { setupPixivnViteData } from '@drincs/pixi-vn/vite-listener'; * * await Promise.all([import("@/content")]); * // After game setup * await setupPixivnViteData(); * ``` * * @returns {Promise} * @public */ declare function setupPixivnViteData(): Promise; export { isViteDevelopmentMode, setupPixivnViteData };