/*! * Ecctrl * https://github.com/pmndrs/ecctrl * * SPDX-FileCopyrightText: 2023-2026 Erdong Chen * SPDX-License-Identifier: MIT */ export interface JoystickState { active: boolean; x: number; y: number; } export interface JoystickStoreState { joysticks: Record; setJoystick: (x: number, y: number, id?: string) => void; resetJoystick: (id?: string) => void; } export declare const useJoystickStore: import("zustand").UseBoundStore, "subscribe"> & { subscribe: { (listener: (selectedState: JoystickStoreState, previousSelectedState: JoystickStoreState) => void): () => void; (selector: (state: JoystickStoreState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: { equalityFn?: ((a: U, b: U) => boolean) | undefined; fireImmediately?: boolean; } | undefined): () => void; }; }>;