sapdon 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +3 -1
  2. package/dist/cli/build.js +3 -1
  3. package/dist/cli/dev-server/client.js +2 -1
  4. package/dist/cli/dev-server/handles.d.ts +4 -0
  5. package/dist/cli/dev-server/handles.js +5 -0
  6. package/dist/cli/dev-server/index.d.ts +3 -2
  7. package/dist/cli/dev-server/index.js +12 -6
  8. package/dist/cli/dev-server/server.d.ts +13 -5
  9. package/dist/cli/dev-server/server.js +51 -42
  10. package/dist/cli/dev-server/syncFiles.js +2 -1
  11. package/dist/cli/index.d.ts +23 -1
  12. package/dist/cli/index.js +1 -1
  13. package/dist/cli/init.d.ts +1 -1
  14. package/dist/cli/load.d.ts +1 -1
  15. package/dist/cli/start.js +1 -155
  16. package/dist/cli/utils.d.ts +1 -1
  17. package/dist/core/addon/block/block.d.ts +2 -2
  18. package/dist/core/addon/controllers/animationController.d.ts +1 -1
  19. package/dist/core/addon/entity/clientEntity.d.ts +11 -11
  20. package/dist/core/addon/entity/entity.d.ts +4 -4
  21. package/dist/core/addon/item/attachable.d.ts +10 -10
  22. package/dist/core/addon/manifest.d.ts +1 -1
  23. package/dist/core/biome/biomeComponent.d.ts +1 -1
  24. package/dist/core/block/basicBlock.d.ts +1 -1
  25. package/dist/core/block/blockComponent.d.ts +4 -4
  26. package/dist/core/block/geometryBlock.d.ts +1 -1
  27. package/dist/core/entity/basicEntity.d.ts +9 -9
  28. package/dist/core/entity/behavior/randomStroll.d.ts +1 -1
  29. package/dist/core/entity/behavior/tempt.d.ts +2 -2
  30. package/dist/core/entity/clientEntity.d.ts +2 -2
  31. package/dist/core/entity/componets/entityComponet.d.ts +4 -4
  32. package/dist/core/entity/data/nativeEntityData.d.ts +2 -2
  33. package/dist/core/entity/navigation/walk.d.ts +19 -19
  34. package/dist/core/factory/entityFactory.d.ts +3 -3
  35. package/dist/core/factory/itemFactory.d.ts +1 -1
  36. package/dist/core/factory/uiFactory.d.ts +2 -1
  37. package/dist/core/factory/uiFactory.js +1 -1
  38. package/dist/core/feature-rule/condition/biomeFilter.d.ts +2 -2
  39. package/dist/core/feature-rule/condition/featureConditions.d.ts +2 -2
  40. package/dist/core/feature-rule/distribution/coordinateDistribution.d.ts +1 -1
  41. package/dist/core/feature-rule/distribution/featureDistribution.d.ts +4 -4
  42. package/dist/core/index.d.ts +2062 -24
  43. package/dist/core/index.js +1 -21
  44. package/dist/core/item/attachable.d.ts +1 -1
  45. package/dist/core/item/item.d.ts +1 -1
  46. package/dist/core/item/itemComponents.d.ts +1 -1
  47. package/dist/core/texture.d.ts +1 -1
  48. package/dist/core/ui/buttonMapping.d.ts +3 -3
  49. package/dist/core/ui/dataBindingObject.d.ts +11 -11
  50. package/dist/core/ui/properties/control.d.ts +23 -23
  51. package/dist/core/ui/properties/dataBinding.d.ts +1 -1
  52. package/dist/core/ui/properties/factory.d.ts +1 -1
  53. package/dist/core/ui/properties/gridProp.d.ts +7 -7
  54. package/dist/core/ui/properties/input.d.ts +11 -11
  55. package/dist/core/ui/properties/layout.d.ts +12 -12
  56. package/dist/core/ui/properties/scrollView.d.ts +12 -12
  57. package/dist/core/ui/properties/sound.d.ts +4 -4
  58. package/dist/core/ui/properties/sprite.d.ts +19 -19
  59. package/dist/core/ui/properties/text.d.ts +15 -15
  60. package/dist/core/ui/systems/chest.d.ts +2 -1
  61. package/dist/core/ui/systems/chest.js +1 -1
  62. package/dist/core/ui/systems/containerUISystem.d.ts +8 -5
  63. package/dist/core/ui/systems/containerUISystem.js +9 -1
  64. package/dist/core/ui/systems/guidebook.d.ts +2 -1
  65. package/dist/core/ui/systems/guidebook.js +1 -1
  66. package/dist/core/ui/systems/serverForm.d.ts +2 -1
  67. package/dist/core/ui/systems/serverForm.js +1 -1
  68. package/dist/core/ui/systems/system.js +2 -2
  69. package/dist/oc/index.d.ts +142 -0
  70. package/dist/oc/index.js +1 -0
  71. package/doc/cli.md +24 -0
  72. package/doc/sapdon-ts.md +51 -5
  73. package/package.json +6 -8
@@ -11,7 +11,7 @@ export class AddonAttachable {
11
11
  * 将对象转换为 JSON 格式
12
12
  * @returns {Object} JSON 对象
13
13
  */
14
- toJson(): any;
14
+ toJson(): Object;
15
15
  }
16
16
  export class AddonAttachableDefinition {
17
17
  /**
@@ -35,7 +35,7 @@ export class AddonAttachableDescription {
35
35
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
36
36
  */
37
37
  addMaterial(name: string, material: string): AddonAttachableDescription;
38
- materials: {};
38
+ materials: {} | undefined;
39
39
  /**
40
40
  * 添加纹理
41
41
  * @param {string} name 纹理名称
@@ -43,7 +43,7 @@ export class AddonAttachableDescription {
43
43
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
44
44
  */
45
45
  addTexture(name: string, texture: string): AddonAttachableDescription;
46
- textures: {};
46
+ textures: {} | undefined;
47
47
  /**
48
48
  * 添加几何体
49
49
  * @param {string} name 几何体名称
@@ -51,7 +51,7 @@ export class AddonAttachableDescription {
51
51
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
52
52
  */
53
53
  addGeometry(name: string, geometry: string): AddonAttachableDescription;
54
- geometry: {};
54
+ geometry: {} | undefined;
55
55
  /**
56
56
  * 添加动画
57
57
  * @param {string} name 动画名称
@@ -59,7 +59,7 @@ export class AddonAttachableDescription {
59
59
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
60
60
  */
61
61
  addAnimation(name: string, animation: string): AddonAttachableDescription;
62
- animations: {};
62
+ animations: {} | undefined;
63
63
  /**
64
64
  * 添加动画控制器
65
65
  * @param {string} name 控制器名称
@@ -67,22 +67,22 @@ export class AddonAttachableDescription {
67
67
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
68
68
  */
69
69
  addAnimationController(name: string, controller: string): AddonAttachableDescription;
70
- animation_controllers: any[];
70
+ animation_controllers: any[] | undefined;
71
71
  /**
72
72
  * 添加渲染控制器
73
73
  * @param {string} controller 渲染控制器路径
74
74
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
75
75
  */
76
76
  addRenderController(controller: string): AddonAttachableDescription;
77
- render_controllers: any[];
77
+ render_controllers: any[] | undefined;
78
78
  /**
79
79
  * 添加定位器
80
80
  * @param {string} name 定位器名称
81
81
  * @param {Object} locator 定位器数据
82
82
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
83
83
  */
84
- addLocator(name: string, locator: any): AddonAttachableDescription;
85
- locators: {};
84
+ addLocator(name: string, locator: Object): AddonAttachableDescription;
85
+ locators: {} | undefined;
86
86
  /**
87
87
  * 设置脚本
88
88
  * @param {string} key 脚本键
@@ -90,5 +90,5 @@ export class AddonAttachableDescription {
90
90
  * @returns {AddonAttachableDescription} 返回当前实例以支持链式调用
91
91
  */
92
92
  setScript(key: string, value: string): AddonAttachableDescription;
93
- scripts: {};
93
+ scripts: {} | undefined;
94
94
  }
@@ -39,7 +39,7 @@ export class AddonManifestMetadata {
39
39
  url: any;
40
40
  }
41
41
  export class AddonManifest {
42
- constructor(formatVersion: any, header: any, modules: any, dependencies: any, capabilities?: any, metadata?: any);
42
+ constructor(formatVersion: any, header: any, modules: any, dependencies: any, capabilities?: null, metadata?: null);
43
43
  format_version: any;
44
44
  header: any;
45
45
  modules: any;
@@ -18,7 +18,7 @@ export class BiomeComponent {
18
18
  * @param {Object} noise_params - 噪声参数,用于控制地形生成
19
19
  * @returns {Map} 返回一个包含高度参数的 Map 对象,键为 "minecraft:overworld_height"
20
20
  */
21
- static setOverworldHeight(noise_params: any): Map<any, any>;
21
+ static setOverworldHeight(noise_params: Object): Map<any, any>;
22
22
  /**
23
23
  * 设置生物群系的表面参数(如地表材料、海底材料等)
24
24
  * @param {Object} params - 表面参数对象,包含以下属性:
@@ -44,5 +44,5 @@ export class BasicBlock {
44
44
  * 将方块对象转换为 JSON 格式
45
45
  * @returns {Object} JSON 格式的方块对象
46
46
  */
47
- toJson(): any;
47
+ toJson(): Object;
48
48
  }
@@ -99,14 +99,14 @@ export class BlockComponent {
99
99
  * @param {Object} bone_visibility - 骨骼可见性配置。
100
100
  * @returns {Map} - 新的组件集合。
101
101
  */
102
- static setGeometry(identifier: string, bone_visibility: any): Map<any, any>;
102
+ static setGeometry(identifier: string, bone_visibility: Object): Map<any, any>;
103
103
  /**
104
104
  * 设置方块的物品视觉属性。
105
105
  * @param {String} geometry - 几何模型标识符。
106
106
  * @param {Object} materialInstances - 材质实例配置。
107
107
  * @returns {Map} - 新的组件集合。
108
108
  */
109
- static setItemVisual(geometry: string, materialInstances: any): Map<any, any>;
109
+ static setItemVisual(geometry: string, materialInstances: Object): Map<any, any>;
110
110
  /**
111
111
  * 设置方块的光衰减值。
112
112
  * @param {Number} value - 光的衰减值,范围为 0 到 15。
@@ -145,7 +145,7 @@ export class BlockComponent {
145
145
  * @param {Object} instances - 材质实例配置。
146
146
  * @returns {Map} - 新的组件集合。
147
147
  */
148
- static setMaterialInstances(instances: any): Map<any, any>;
148
+ static setMaterialInstances(instances: Object): Map<any, any>;
149
149
  /**
150
150
  * 设置方块的放置过滤条件。
151
151
  * @param {Array} conditions - 放置条件列表。
@@ -183,5 +183,5 @@ export class BlockComponent {
183
183
  * @param {Map} components - 组件集合。
184
184
  * @returns {Object} - 组件的 JSON 对象。
185
185
  */
186
- static toJSON(components: Map<any, any>): any;
186
+ static toJSON(components: Map<any, any>): Object;
187
187
  }
@@ -7,6 +7,6 @@ export class GeometryBlock extends BasicBlock {
7
7
  * @param {Object} material_instances 材质实例对象
8
8
  * @param {Object} options 可选参数
9
9
  */
10
- constructor(identifier: string, category: string, geometry: string, material_instances: any, options?: any);
10
+ constructor(identifier: string, category: string, geometry: string, material_instances: Object, options?: Object);
11
11
  }
12
12
  import { BasicBlock } from "./basicBlock.js";
@@ -12,18 +12,18 @@ export class BasicEntity {
12
12
  * @param {Object} [data.events={}] - 继承的事件
13
13
  */
14
14
  constructor(identifier: string, options?: {
15
- is_spawnable?: boolean;
16
- is_summonable?: boolean;
17
- runtime_identifier?: string;
15
+ is_spawnable?: boolean | undefined;
16
+ is_summonable?: boolean | undefined;
17
+ runtime_identifier?: string | undefined;
18
18
  }, data?: {
19
- components?: any;
20
- component_groups?: any;
21
- events?: any;
19
+ components?: Object | undefined;
20
+ component_groups?: Object | undefined;
21
+ events?: Object | undefined;
22
22
  });
23
23
  identifier: string;
24
24
  is_spawnable: boolean;
25
25
  is_summonable: boolean;
26
- runtime_identifier: string;
26
+ runtime_identifier: string | undefined;
27
27
  properties: Map<string, any>;
28
28
  components: Map<string, any>;
29
29
  component_groups: Map<string, any>;
@@ -34,7 +34,7 @@ export class BasicEntity {
34
34
  * @param {Object} value 属性值
35
35
  * @returns
36
36
  */
37
- addProperty(name: string, value: any): this;
37
+ addProperty(name: string, value: Object): this;
38
38
  /**
39
39
  * 移除属性
40
40
  * @param {string} name 属性名称
@@ -107,5 +107,5 @@ export class BasicEntity {
107
107
  * 将实体转换为 JSON 格式
108
108
  * @returns {Object} - 返回 JSON 格式的实体数据
109
109
  */
110
- toJson(): any;
110
+ toJson(): Object;
111
111
  }
@@ -27,5 +27,5 @@ export class RandomStrollBehavior {
27
27
  * 将组件转换为 JSON 对象
28
28
  * @returns {Object} minecraft:behavior.random_stroll 组件的 JSON 对象
29
29
  */
30
- toJSON(): any;
30
+ toJSON(): Object;
31
31
  }
@@ -14,7 +14,7 @@ export class TemptBehavior {
14
14
  range_max: number;
15
15
  };
16
16
  speed_multiplier: number;
17
- tempt_sound: string;
17
+ tempt_sound: string | null;
18
18
  within_radius: number;
19
19
  /**
20
20
  * 设置是否会被吓跑。
@@ -69,5 +69,5 @@ export class TemptBehavior {
69
69
  * 将组件转换为 JSON 对象。
70
70
  * @returns {Object} minecraft:behavior.tempt 组件的 JSON 对象
71
71
  */
72
- toJSON(): any;
72
+ toJSON(): Object;
73
73
  }
@@ -9,12 +9,12 @@ export class ClientEntity extends AddonClientEntityDescription {
9
9
  * @param {string} identifier - 实体的唯一标识符。
10
10
  * @param {Object} data - 实体的初始数据,默认为空对象。
11
11
  */
12
- constructor(identifier: string, data?: any);
12
+ constructor(identifier: string, data?: Object);
13
13
  /**
14
14
  * 将当前实体实例转换为 JSON 格式。
15
15
  *
16
16
  * @returns {Object} - 表示实体的 JSON 对象。
17
17
  */
18
- toJson(): any;
18
+ toJson(): Object;
19
19
  }
20
20
  import { AddonClientEntityDescription } from "../addon/entity/clientEntity.js";
@@ -17,7 +17,7 @@ export class EntityComponent {
17
17
  */
18
18
  static setHealth(options?: {
19
19
  max: number;
20
- value: number | any;
20
+ value: number | Object;
21
21
  }): Map<any, any>;
22
22
  /**
23
23
  * 验证 minecraft:health 组件的参数。
@@ -25,7 +25,7 @@ export class EntityComponent {
25
25
  * @param {number|Object} value 初始生命值
26
26
  * @throws {Error} 如果参数无效。
27
27
  */
28
- static validateHealthParameters(max: number, value: number | any): void;
28
+ static validateHealthParameters(max: number, value: number | Object): void;
29
29
  /**
30
30
  * 创建 minecraft:physics 组件。
31
31
  * @param {boolean} has_collision 是否碰撞(默认:true)
@@ -56,7 +56,7 @@ export class EntityComponent {
56
56
  * @returns {Map} 包含 minecraft:nameable 组件的 Map 对象
57
57
  * @throws {Error} 如果参数无效。
58
58
  */
59
- static setCustomNameable(allowNameTagRenaming?: boolean, alwaysShow?: boolean, defaultTrigger?: any, nameActions?: any[]): Map<any, any>;
59
+ static setCustomNameable(allowNameTagRenaming?: boolean, alwaysShow?: boolean, defaultTrigger?: Object, nameActions?: any[]): Map<any, any>;
60
60
  /**
61
61
  * 创建 minecraft:pushable 组件。
62
62
  * @param {boolean} isPushable 是否可以被其他实体推动(默认:true)
@@ -185,7 +185,7 @@ export class EntityComponent {
185
185
  multipleTargets: boolean;
186
186
  offset: number[];
187
187
  onFireTime: number;
188
- onHit: any;
188
+ onHit: Object;
189
189
  particle: string;
190
190
  power: number;
191
191
  reflectImmunity: number;
@@ -1,8 +1,8 @@
1
1
  export class NativeEntityData {
2
2
  static behDataPath: string;
3
3
  static resDataPath: string;
4
- static behData: any;
5
- static resData: any;
4
+ static behData: null;
5
+ static resData: null;
6
6
  static loadDataSync(filePath: any): any;
7
7
  static reloadDataSync(): void;
8
8
  static getDataById(type: any, id: any): any;
@@ -1,23 +1,23 @@
1
1
  export namespace Navigation {
2
2
  function walk(options?: {
3
- avoid_damage_blocks?: boolean;
4
- avoid_portals?: boolean;
5
- avoid_sun?: boolean;
6
- avoid_water?: boolean;
7
- blocks_to_avoid?: any[];
8
- can_breach?: boolean;
9
- can_break_doors?: boolean;
10
- can_jump?: boolean;
11
- can_open_doors?: boolean;
12
- can_open_iron_doors?: boolean;
13
- can_pass_doors?: boolean;
14
- can_path_from_air?: boolean;
15
- can_path_over_lava?: boolean;
16
- can_path_over_water?: boolean;
17
- can_sink?: boolean;
18
- can_swim?: boolean;
19
- can_walk?: boolean;
20
- can_walk_in_lava?: boolean;
21
- is_amphibious?: boolean;
3
+ avoid_damage_blocks?: boolean | undefined;
4
+ avoid_portals?: boolean | undefined;
5
+ avoid_sun?: boolean | undefined;
6
+ avoid_water?: boolean | undefined;
7
+ blocks_to_avoid?: any[] | undefined;
8
+ can_breach?: boolean | undefined;
9
+ can_break_doors?: boolean | undefined;
10
+ can_jump?: boolean | undefined;
11
+ can_open_doors?: boolean | undefined;
12
+ can_open_iron_doors?: boolean | undefined;
13
+ can_pass_doors?: boolean | undefined;
14
+ can_path_from_air?: boolean | undefined;
15
+ can_path_over_lava?: boolean | undefined;
16
+ can_path_over_water?: boolean | undefined;
17
+ can_sink?: boolean | undefined;
18
+ can_swim?: boolean | undefined;
19
+ can_walk?: boolean | undefined;
20
+ can_walk_in_lava?: boolean | undefined;
21
+ is_amphibious?: boolean | undefined;
22
22
  }): Map<any, any>;
23
23
  }
@@ -1,14 +1,14 @@
1
1
  export function registerEntity(behData: any, resData: any): void;
2
2
  export namespace EntityAPI {
3
- function createNativeEntity(identifier: string, proto_id: string, options?: any): {
3
+ function createNativeEntity(identifier: string, proto_id: string, options?: Object): {
4
4
  behavior: BasicEntity;
5
5
  resource: ClientEntity;
6
6
  };
7
- function createEntity(identifier: string, texture: string, behData: any, resData: any, options?: any): {
7
+ function createEntity(identifier: string, texture: string, behData: Object, resData: Object, options?: Object): {
8
8
  behavior: BasicEntity;
9
9
  resource: ClientEntity;
10
10
  };
11
- function createProjectile(identifier: string, texture: string, options?: any): {
11
+ function createProjectile(identifier: string, texture: string, options?: Object): {
12
12
  behavior: BasicEntity;
13
13
  resource: ClientEntity;
14
14
  };
@@ -12,7 +12,7 @@ export namespace ItemAPI {
12
12
  nutrition: number;
13
13
  saturationModifier: number;
14
14
  }): Food;
15
- function createAttachable(identifier: string, texture: string, material: string, options?: any): Attachable;
15
+ function createAttachable(identifier: string, texture: string, material: string, options?: Object): Attachable;
16
16
  function createChestplateArmor(identifier: any, item_texture: any, texture_path: any, options?: {}): Chestplate;
17
17
  function createHelmetArmor(identifier: any, item_texture: any, texture_path: any, options?: {}): Helmet;
18
18
  function createBootArmor(identifier: any, item_texture: any, texture_path: any, options?: {}): Boot;
@@ -1,10 +1,11 @@
1
1
  export namespace UiAPI {
2
- function createUISystem(identifier: any, path: any): any;
2
+ function createUISystem(identifier: any, path: any): UISystem;
3
3
  function createUIElement(id: any, type: any, template: any): UIElement;
4
4
  function createPanel(id: any, template: any): Panel;
5
5
  function createImage(id: any, template: any): Image;
6
6
  function createLabel(id: any, template: any): Label;
7
7
  }
8
+ import { UISystem } from "../ui/systems/system.js";
8
9
  import { UIElement } from "../ui/elements/uiElement.js";
9
10
  import { Panel } from "../ui/elements/panel.js";
10
11
  import { Image } from "../ui/elements/image.js";
@@ -3,7 +3,7 @@ import { Image } from "../ui/elements/image.js";
3
3
  import { Label } from "../ui/elements/label.js";
4
4
  import { Panel } from "../ui/elements/panel.js";
5
5
  import { UIElement } from "../ui/elements/uiElement.js";
6
- import { UISystem } from "../ui/systems/UISystem.js";
6
+ import { UISystem } from "../ui/systems/system.js";
7
7
  const registerUIsystem = (ui_system) => {
8
8
  GRegistry.register(ui_system.name, "behavior", ui_system.path, ui_system);
9
9
  };
@@ -9,7 +9,7 @@ export class BiomeFilter {
9
9
  * @param {Array<Object>} conditions - 条件数组
10
10
  * @returns {BiomeFilter} 返回自身以支持链式调用
11
11
  */
12
- addLogicGroup(logicType: "any_of" | "all_of", conditions: Array<any>): BiomeFilter;
12
+ addLogicGroup(logicType: "any_of" | "all_of", conditions: Array<Object>): BiomeFilter;
13
13
  /**
14
14
  * 添加一个简单条件(如 has_biome_tag)
15
15
  * @param {string} test - 测试类型(如 "has_biome_tag")
@@ -22,5 +22,5 @@ export class BiomeFilter {
22
22
  * 转换为 JSON 格式
23
23
  * @returns {Array<Object>} 返回生物群系过滤条件数组
24
24
  */
25
- toJson(): Array<any>;
25
+ toJson(): Array<Object>;
26
26
  }
@@ -4,7 +4,7 @@
4
4
  export class FeatureConditions {
5
5
  conditions: {
6
6
  placement_pass: string;
7
- "minecraft:biome_filter": any[];
7
+ "minecraft:biome_filter": never[];
8
8
  };
9
9
  /**
10
10
  * 设置生成阶段(placement_pass)
@@ -22,6 +22,6 @@ export class FeatureConditions {
22
22
  * 转换为 JSON 格式
23
23
  * @returns {Object} 返回生成条件对象
24
24
  */
25
- toJson(): any;
25
+ toJson(): Object;
26
26
  }
27
27
  import { BiomeFilter } from "./biomeFilter.js";
@@ -13,5 +13,5 @@ export class CoordinateDistribution {
13
13
  * 转换为 JSON 格式
14
14
  * @returns {Object} 返回坐标分布配置
15
15
  */
16
- toJson(): any;
16
+ toJson(): Object;
17
17
  }
@@ -5,9 +5,9 @@ export class FeatureDistribution {
5
5
  distribution: {
6
6
  iterations: number;
7
7
  coordinate_eval_order: string;
8
- x: any;
9
- y: any;
10
- z: any;
8
+ x: Object;
9
+ y: Object;
10
+ z: Object;
11
11
  };
12
12
  /**
13
13
  * 设置迭代次数
@@ -26,6 +26,6 @@ export class FeatureDistribution {
26
26
  * 转换为 JSON 格式
27
27
  * @returns {Object} 返回分布规则对象
28
28
  */
29
- toJson(): any;
29
+ toJson(): Object;
30
30
  }
31
31
  import { CoordinateDistribution } from "./coordinateDistribution.js";