import { Material, Object3D, Vector3 } from "three"; import { WORLD_TYPES } from "../chunk/types"; import { PlanetBuilderProps } from "../planet/Planet.builder"; export interface DoughnutWorldProps { radius: number; length: number; inverted?: boolean; minCellSize: number; minCellResolution: number; material?: Material; position: Vector3; workerProps: PlanetBuilderProps["workerProps"]; data: D; lodDistanceComparisonValue?: number; } export declare class DoughnutWorld> extends Object3D { #private; readonly data: D; material?: Material; minCellSize: number; minCellResolution: number; radius: number; length: number; inverted: boolean; lodDistanceComparisonValue: number; readonly worldType = WORLD_TYPES.RING_WORLD; constructor({ radius, length, minCellSize, minCellResolution, material, workerProps, data, position, lodDistanceComparisonValue, inverted, }: DoughnutWorldProps); rebuild(): void; update(lodOrigin: Vector3): void; dispose(): void; }