import type { MaybeRef } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive Pointer Lock API. */ export declare function usePointerLock(target?: MaybeRef): UsePointerLockReturn; export declare interface UsePointerLockReturn { isSupported: Ref isLocked: Ref lock: (target?: HTMLElement) => Promise unlock: () => void element: Ref }