import { UpdateEventHandler } from '../components/Scene.vue'; /** Returns the Phaser.Game instance injected from the parent Game component. Must be called inside a component setup context under ``. */ declare const useGame: () => Phaser.Game; /** Returns the Phaser.Scene instance injected from the parent Scene component. Must be called inside a component setup context under ``. */ declare const useScene: () => Phaser.Scene; /** Returns a typed ref for accessing the underlying Phaser instance of a Phavuer component. Assign it to a component's `ref` attribute; after mount, `.value` holds the Phaser game object. */ declare const refPhaserInstance: (value: T | null) => import('vue').Ref; /** [Deprecated] Use refPhaserInstance instead. */ declare function refObj(value: T | null): import('vue').Ref; /** [Deprecated] Use refPhaserInstance instead. */ declare function refScene(value: Phaser.Scene | null): import('vue').Ref; /** Registers a handler to be called on each Scene `preupdate` event. The handler is automatically removed when the calling component is unmounted. */ declare const onPreUpdate: (e: UpdateEventHandler) => void; /** Registers a handler to be called on each Scene `postupdate` event. The handler is automatically removed when the calling component is unmounted. */ declare const onPostUpdate: (e: UpdateEventHandler) => void; export { onPostUpdate, onPreUpdate, refObj, refPhaserInstance, refScene, useGame, useScene, };