import * as OBC from '@thatopen/components'; import * as THREE from 'three'; export declare class FitCamera extends OBC.Component { static readonly uuid: "abcf3535-1841-456d-a500-91809848d8ef"; enabled: boolean; world: OBC.World | null; camera: OBC.OrthoPerspectiveCamera | null; fragments: any; constructor(components: OBC.Components); fit(): Promise; /** Frames only the given items. False when they carry no geometry, so the caller can fall back. */ fitToItems(items: OBC.ModelIdMap): Promise; private getFragmentsBoundingBox; private fitToScene; /** Frames a box without turning the camera. `fitToBox` snaps to the nearest axis; this does not. */ frameBox(box: THREE.Box3, animated?: boolean): Promise; fitToBox(box: THREE.Box3, animated?: boolean): Promise; fitToSelection(selection: THREE.Object3D[]): Promise; } //# sourceMappingURL=FitCamera.d.ts.map