/*! * Ecctrl * https://github.com/pmndrs/ecctrl * * SPDX-FileCopyrightText: 2023-2026 Erdong Chen * SPDX-License-Identifier: MIT */ import * as THREE from "three"; import { CameraControlsImpl } from "@react-three/drei"; /** * Custom CameraControls class to allow dynamic up axis change */ declare class EcctrlCameraControlsImpl extends CameraControlsImpl { private _oldUp; private _newUp; private _pivotXAxis; private _pivotYAxis; private _pivotZAxis; private _rotZ; private _rotX; constructor(camera: THREE.PerspectiveCamera | THREE.OrthographicCamera, domElement?: HTMLElement); setUp(newUp: THREE.Vector3): void; } import { type CameraControlsProps } from "@react-three/drei"; import type { ForwardRefComponent } from "../shared/types"; export declare const EcctrlCameraControls: ForwardRefComponent; export type EcctrlCameraControls = EcctrlCameraControlsImpl; export {};