import { CameraState } from 'sigma/types'; import { AnimateOptions } from 'sigma/utils'; type CameraOptions = Partial & { factor?: number; }; /** * React hook that helps you to manage the camera. * * ```typescript * const {zoomIn, zoomOut, reset, goto, gotoNode } = useCamera(); *``` * * @category Hook */ export declare function useCamera(options?: CameraOptions): { zoomIn: (options?: CameraOptions) => void; zoomOut: (options?: CameraOptions) => void; reset: (options?: Partial) => void; goto: (state: Partial, options?: Partial) => void; gotoNode: (nodeKey: string, options?: Partial) => void; }; export {};