import type { DisplayObjectConfig } from '@antv/g'; import type { CapsuleGeometryProps, ProceduralGeometry as GGeometry } from '@antv/g-plugin-3d'; import type { Vector3 } from '@antv/g6'; import type { BaseNode3DStyleProps } from './base-node-3d'; import { BaseNode3D } from './base-node-3d'; /** * 胶囊节点样式 * * Capsule Node Style Props */ export type CapsuleStyleProps = BaseNode3DStyleProps & CapsuleGeometryProps; /** * 胶囊节点 * * Capsule Node */ export declare class Capsule extends BaseNode3D { static defaultStyleProps: Partial; constructor(options: DisplayObjectConfig); protected getSize(attributes?: CapsuleStyleProps): Vector3; protected getGeometry(attributes: Required): GGeometry; }