import { WonderlandEngine } from "@wonderlandengine/api"; export declare function getSession(engine?: Readonly): XRSession | null; export declare function getSessionMode(engine?: Readonly): XRSessionMode | null; export declare function getReferenceSpace(engine?: Readonly): XRReferenceSpace | null; export declare function getReferenceSpaceType(engine?: Readonly): XRReferenceSpaceType | null; export declare function getFrame(engine?: Readonly): XRFrame | null; export declare function isSessionActive(engine?: Readonly): boolean; export declare function isReferenceSpaceFloorBased(engine?: Readonly): boolean; export declare function exitSession(engine?: Readonly): void; export declare function registerSessionStartEventListener(id: unknown, listener: ((xrSession: XRSession, xrSessionMode: XRSessionMode) => void) | ((manualCall: boolean, xrSession: XRSession, xrSessionMode: XRSessionMode) => void), manuallyCallSessionStartIfSessionAlreadyActive?: boolean, addManualCallFlagToStartListener?: boolean, engine?: Readonly): void; export declare function unregisterSessionStartEventListener(id: unknown, engine?: Readonly): void; export declare function registerSessionEndEventListener(id: unknown, listener: () => void, engine?: Readonly): void; export declare function unregisterSessionEndEventListener(id: unknown, engine?: Readonly): void; export declare function registerSessionStartEndEventListeners(id: unknown, startListener: ((xrSession: XRSession, xrSessionMode: XRSessionMode) => void) | ((manualCall: boolean, xrSession: XRSession, xrSessionMode: XRSessionMode) => void), endListener: () => void, manuallyCallSessionStartIfSessionAlreadyActive?: boolean, addManualCallFlagToStartListener?: boolean, engine?: Readonly): void; export declare function unregisterSessionStartEndEventListeners(id: unknown, engine?: Readonly): void; export declare function isXRSupported(engine?: Readonly): boolean; export declare function isVRSupported(engine?: Readonly): boolean; export declare function isARSupported(engine?: Readonly): boolean; export declare function isDeviceEmulated(onlyOnLocalhost?: boolean): boolean; export declare const XRUtils: { readonly getSession: typeof getSession; readonly getSessionMode: typeof getSessionMode; readonly getReferenceSpace: typeof getReferenceSpace; readonly getReferenceSpaceType: typeof getReferenceSpaceType; readonly getFrame: typeof getFrame; readonly isSessionActive: typeof isSessionActive; readonly exitSession: typeof exitSession; readonly registerSessionStartEventListener: typeof registerSessionStartEventListener; readonly unregisterSessionStartEventListener: typeof unregisterSessionStartEventListener; readonly registerSessionEndEventListener: typeof registerSessionEndEventListener; readonly unregisterSessionEndEventListener: typeof unregisterSessionEndEventListener; readonly registerSessionStartEndEventListeners: typeof registerSessionStartEndEventListeners; readonly unregisterSessionStartEndEventListeners: typeof unregisterSessionStartEndEventListeners; readonly isReferenceSpaceFloorBased: typeof isReferenceSpaceFloorBased; readonly isXRSupported: typeof isXRSupported; readonly isVRSupported: typeof isVRSupported; readonly isARSupported: typeof isARSupported; readonly isDeviceEmulated: typeof isDeviceEmulated; };