import { RootState } from "@react-three/fiber"; import { XRController } from "@react-three/xr"; declare type Fn = (state: RootState) => void; declare function update(state: RootState, controllers: XRController[]): void; declare namespace update { var add: (uuid: string, fn: Fn) => void; var remove: (uuid: string) => void; } export default update;