@mappedin/maplibre-overlay 6.0.1-beta.59 → 6.6.0-beta.0

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.
@@ -1 +1 @@
1
- import{a as A,ba as y,ca as B,w,x,y as b}from"./chunk-W37QTIXX.js";import{c as g}from"./chunk-LUJQR5EH.js";A();function R(o,l=!1){let r=o[0].index!==null,f=new Set(Object.keys(o[0].attributes)),i=new Set(Object.keys(o[0].morphAttributes)),c={},e={},h=o[0].morphTargetsRelative,u=new B,d=0;for(let t=0;t<o.length;++t){let s=o[t],a=0;if(r!==(s.index!==null))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them."),null;for(let n in s.attributes){if(!f.has(n))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+'. All geometries must have compatible attributes; make sure "'+n+'" attribute exists among all geometries, or in none of them.'),null;c[n]===void 0&&(c[n]=[]),c[n].push(s.attributes[n]),a++}if(a!==f.size)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". Make sure all geometries have the same number of attributes."),null;if(h!==s.morphTargetsRelative)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". .morphTargetsRelative must be consistent throughout all geometries."),null;for(let n in s.morphAttributes){if(!i.has(n))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". .morphAttributes must be consistent throughout all geometries."),null;e[n]===void 0&&(e[n]=[]),e[n].push(s.morphAttributes[n])}if(l){let n;if(r)n=s.index.count;else if(s.attributes.position!==void 0)n=s.attributes.position.count;else return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". The geometry must have either an index or a position attribute"),null;u.addGroup(d,n,t),d+=n}}if(r){let t=0,s=[];for(let a=0;a<o.length;++a){let n=o[a].index;for(let m=0;m<n.count;++m)s.push(n.getX(m)+t);t+=o[a].attributes.position.count}u.setIndex(s)}for(let t in c){let s=T(c[t]);if(!s)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+t+" attribute."),null;u.setAttribute(t,s)}for(let t in e){let s=e[t][0].length;if(s===0)break;u.morphAttributes=u.morphAttributes||{},u.morphAttributes[t]=[];for(let a=0;a<s;++a){let n=[];for(let p=0;p<e[t].length;++p)n.push(e[t][p][a]);let m=T(n);if(!m)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+t+" morphAttribute."),null;u.morphAttributes[t].push(m)}}return u}g(R,"mergeGeometries");function T(o){let l,r,f,i=-1,c=0;for(let d=0;d<o.length;++d){let t=o[d];if(l===void 0&&(l=t.array.constructor),l!==t.array.constructor)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes."),null;if(r===void 0&&(r=t.itemSize),r!==t.itemSize)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes."),null;if(f===void 0&&(f=t.normalized),f!==t.normalized)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes."),null;if(i===-1&&(i=t.gpuType),i!==t.gpuType)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.gpuType must be consistent across matching attributes."),null;c+=t.count*r}let e=new l(c),h=new y(e,r,f),u=0;for(let d=0;d<o.length;++d){let t=o[d];if(t.isInterleavedBufferAttribute){let s=u/r;for(let a=0,n=t.count;a<n;a++)for(let m=0;m<r;m++){let p=t.getComponent(a,m);h.setComponent(a+s,m,p)}}else e.set(t.array,u);u+=t.count*r}return i!==void 0&&(h.gpuType=i),h}g(T,"mergeAttributes");function X(o,l){if(l===w)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),o;if(l===b||l===x){let r=o.getIndex();if(r===null){let e=[],h=o.getAttribute("position");if(h!==void 0){for(let u=0;u<h.count;u++)e.push(u);o.setIndex(e),r=o.getIndex()}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),o}let f=r.count-2,i=[];if(l===b)for(let e=1;e<=f;e++)i.push(r.getX(0)),i.push(r.getX(e)),i.push(r.getX(e+1));else for(let e=0;e<f;e++)e%2===0?(i.push(r.getX(e)),i.push(r.getX(e+1)),i.push(r.getX(e+2))):(i.push(r.getX(e+2)),i.push(r.getX(e+1)),i.push(r.getX(e)));i.length/3!==f&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");let c=o.clone();return c.setIndex(i),c.clearGroups(),c}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",l),o}g(X,"toTrianglesDrawMode");export{R as a,X as b};
1
+ import{a as A,ca as y,da as B,w,x,y as b}from"./chunk-OJT7FRHD.js";import{c as g}from"./chunk-LUJQR5EH.js";A();function R(o,l=!1){let r=o[0].index!==null,f=new Set(Object.keys(o[0].attributes)),i=new Set(Object.keys(o[0].morphAttributes)),c={},e={},h=o[0].morphTargetsRelative,u=new B,d=0;for(let t=0;t<o.length;++t){let s=o[t],a=0;if(r!==(s.index!==null))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them."),null;for(let n in s.attributes){if(!f.has(n))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+'. All geometries must have compatible attributes; make sure "'+n+'" attribute exists among all geometries, or in none of them.'),null;c[n]===void 0&&(c[n]=[]),c[n].push(s.attributes[n]),a++}if(a!==f.size)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". Make sure all geometries have the same number of attributes."),null;if(h!==s.morphTargetsRelative)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". .morphTargetsRelative must be consistent throughout all geometries."),null;for(let n in s.morphAttributes){if(!i.has(n))return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". .morphAttributes must be consistent throughout all geometries."),null;e[n]===void 0&&(e[n]=[]),e[n].push(s.morphAttributes[n])}if(l){let n;if(r)n=s.index.count;else if(s.attributes.position!==void 0)n=s.attributes.position.count;else return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+t+". The geometry must have either an index or a position attribute"),null;u.addGroup(d,n,t),d+=n}}if(r){let t=0,s=[];for(let a=0;a<o.length;++a){let n=o[a].index;for(let m=0;m<n.count;++m)s.push(n.getX(m)+t);t+=o[a].attributes.position.count}u.setIndex(s)}for(let t in c){let s=T(c[t]);if(!s)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+t+" attribute."),null;u.setAttribute(t,s)}for(let t in e){let s=e[t][0].length;if(s===0)break;u.morphAttributes=u.morphAttributes||{},u.morphAttributes[t]=[];for(let a=0;a<s;++a){let n=[];for(let p=0;p<e[t].length;++p)n.push(e[t][p][a]);let m=T(n);if(!m)return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+t+" morphAttribute."),null;u.morphAttributes[t].push(m)}}return u}g(R,"mergeGeometries");function T(o){let l,r,f,i=-1,c=0;for(let d=0;d<o.length;++d){let t=o[d];if(l===void 0&&(l=t.array.constructor),l!==t.array.constructor)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes."),null;if(r===void 0&&(r=t.itemSize),r!==t.itemSize)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes."),null;if(f===void 0&&(f=t.normalized),f!==t.normalized)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes."),null;if(i===-1&&(i=t.gpuType),i!==t.gpuType)return console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.gpuType must be consistent across matching attributes."),null;c+=t.count*r}let e=new l(c),h=new y(e,r,f),u=0;for(let d=0;d<o.length;++d){let t=o[d];if(t.isInterleavedBufferAttribute){let s=u/r;for(let a=0,n=t.count;a<n;a++)for(let m=0;m<r;m++){let p=t.getComponent(a,m);h.setComponent(a+s,m,p)}}else e.set(t.array,u);u+=t.count*r}return i!==void 0&&(h.gpuType=i),h}g(T,"mergeAttributes");function X(o,l){if(l===w)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),o;if(l===b||l===x){let r=o.getIndex();if(r===null){let e=[],h=o.getAttribute("position");if(h!==void 0){for(let u=0;u<h.count;u++)e.push(u);o.setIndex(e),r=o.getIndex()}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),o}let f=r.count-2,i=[];if(l===b)for(let e=1;e<=f;e++)i.push(r.getX(0)),i.push(r.getX(e)),i.push(r.getX(e+1));else for(let e=0;e<f;e++)e%2===0?(i.push(r.getX(e)),i.push(r.getX(e+1)),i.push(r.getX(e+2))):(i.push(r.getX(e+2)),i.push(r.getX(e+1)),i.push(r.getX(e)));i.length/3!==f&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");let c=o.clone();return c.setIndex(i),c.clearGroups(),c}else return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",l),o}g(X,"toTrianglesDrawMode");export{R as a,X as b};
@@ -797,6 +797,24 @@ declare class ModelStyleComponnet implements Partial<ModelStyle> {
797
797
  clippingPlaneTopVisible: boolean;
798
798
  constructor(init?: Partial<ModelStyle>);
799
799
  }
800
+ declare class Mask {
801
+ type: "mask";
802
+ /**
803
+ * The ID of the mask, undefined means no mask
804
+ * min value is 0, max value is 255
805
+ */
806
+ maskId: number;
807
+ enabled: boolean;
808
+ /**
809
+ * Whether the mask is a mask or a masked object
810
+ */
811
+ mode: "mask" | "masked-object";
812
+ /**
813
+ * Whether the masked object should be hidden or revealed when the mask is applied
814
+ */
815
+ effect: "hide" | "reveal";
816
+ dirty: boolean;
817
+ }
800
818
  type GeometryGroupState = {
801
819
  readonly id: string | number;
802
820
  readonly type: "geometry-group";
@@ -832,12 +850,18 @@ type GeometryGroupState = {
832
850
  * Bevel configuration for extruded shapes.
833
851
  */
834
852
  bevel?: BevelState;
853
+ maskId?: number;
854
+ maskEnabled?: boolean;
855
+ maskEffect?: "hide" | "reveal";
856
+ maskMode?: "mask" | "masked-object";
835
857
  };
836
858
  declare class GeometryGroupObject3D extends Object3D {
837
859
  visible: boolean;
838
860
  readonly type: "geometry-group";
839
- components: never[];
840
- getComponent(): void;
861
+ components: [
862
+ Mask?
863
+ ];
864
+ getComponent(type: "mask"): Mask | undefined;
841
865
  userData: {
842
866
  entityId: string | number;
843
867
  entities3D: Set<string | number>;
@@ -973,7 +997,7 @@ type Whatever = {} | undefined | null;
973
997
  type LoosePartial<T extends object> = InexactPartial<T> & {
974
998
  [k: string]: unknown;
975
999
  };
976
- type Mask<Keys extends PropertyKey> = {
1000
+ type Mask$1<Keys extends PropertyKey> = {
977
1001
  [K in Keys]?: true;
978
1002
  };
979
1003
  type Writeable<T> = {
@@ -4708,6 +4732,16 @@ type PathState = {
4708
4732
  * @default 0.25
4709
4733
  */
4710
4734
  xrayOpacity: number;
4735
+ /**
4736
+ * Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
4737
+ * Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
4738
+ */
4739
+ smoothingTension: number;
4740
+ /**
4741
+ * Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
4742
+ * Only applies when smoothingTension > 0.
4743
+ */
4744
+ smoothingCornerRadius: number;
4711
4745
  };
4712
4746
  type AddPathOptions = {
4713
4747
  /**
@@ -4767,6 +4801,18 @@ type AddPathOptions = {
4767
4801
  * @default 0.25
4768
4802
  */
4769
4803
  xrayOpacity?: number;
4804
+ /**
4805
+ * Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
4806
+ * Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
4807
+ * @default 0.0
4808
+ */
4809
+ smoothingTension?: number;
4810
+ /**
4811
+ * Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
4812
+ * Only applies when smoothingTension > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
4813
+ * @default 0.0
4814
+ */
4815
+ smoothingCornerRadius?: number;
4770
4816
  };
4771
4817
  declare class PathComponent {
4772
4818
  #private;
@@ -4793,6 +4839,8 @@ declare class PathComponent {
4793
4839
  highlightColor: string;
4794
4840
  xrayOpacity: number;
4795
4841
  dashed: boolean;
4842
+ smoothingTension: number;
4843
+ smoothingCornerRadius: number;
4796
4844
  /**
4797
4845
  * If the path is vertical it will be rebuilt whenever altitudeDirty = true. This will be set during the first render of the path.
4798
4846
  */
@@ -14250,6 +14298,15 @@ declare class RenderOrderSystem {
14250
14298
  getOrder(object: object): number | undefined;
14251
14299
  update(): void;
14252
14300
  }
14301
+ declare class MaskingSystem {
14302
+ private state;
14303
+ constructor(state: RendererState);
14304
+ private applyMask;
14305
+ update(): void;
14306
+ private enableMaskProducer;
14307
+ private enableMaskReciever;
14308
+ private disableMask;
14309
+ }
14253
14310
  declare class ClippingPlaneSystem {
14254
14311
  rendererState: RendererState;
14255
14312
  dirty: boolean;
@@ -14302,6 +14359,7 @@ type Systems = {
14302
14359
  textureSystem: TextureSystem;
14303
14360
  borderSystem: BorderSystem;
14304
14361
  renderOrderSystem: RenderOrderSystem;
14362
+ maskingSystem: MaskingSystem;
14305
14363
  clippingPlaneSystem: ClippingPlaneSystem;
14306
14364
  pluginSystem: PluginSystem;
14307
14365
  };
@@ -14455,6 +14513,12 @@ declare class Core extends PubSub<MapEvent> {
14455
14513
  getState<T extends EntityId<EntityState>>(geometryOrGeometryId: T): T extends EntityId<LabelState> ? LabelState : T extends EntityId<GeometryState> ? GeometryState : T extends EntityId<MarkerState> ? MarkerState : T extends EntityId<GeometryGroupState> ? GeometryGroupState : T extends EntityId<GroupContainerState> ? GroupContainerState : T extends EntityId<ModelState> ? ModelState : T extends EntityId<PathState> ? PathState : T extends EntityId<ShapeState> ? ShapeState : T extends EntityId<ImageState> ? ImageState : T extends EntityId<Text3DState> ? Text3DState : EntityState;
14456
14514
  getState(geometryOrGeometryId?: Record<string | number, any> | string | number): EntityState;
14457
14515
  getState<T extends EntityState>(geometryOrGeometryId: T["id"]): T extends LabelState ? LabelState : T extends GeometryState ? GeometryState : T extends MarkerState ? MarkerState : T extends GeometryGroupState ? GeometryGroupState : T extends GroupContainerState ? GroupContainerState : T extends ModelState ? ModelState : T extends PathState ? PathState : T extends ShapeState ? ShapeState : T extends ImageState ? ImageState : EntityState;
14516
+ /**
14517
+ * Get rendered state for an entity (e.g., runtime rendering state that changes frequently)
14518
+ * @param entity The entity to get rendered state for
14519
+ * @returns Object with all available rendered state properties, or undefined if not found
14520
+ */
14521
+ getRenderedState(entity: EntityId<LabelState> | string | number): LabelRenderedState | undefined;
14458
14522
  /**
14459
14523
  * Set the state of the map view or any entity that was added, regardless of whether it is visible in the scene.
14460
14524
  */
@@ -14807,6 +14871,7 @@ declare class LabelComponent {
14807
14871
  get scaledPinSize(): number;
14808
14872
  iconPadding: number;
14809
14873
  get scaledIconPadding(): number;
14874
+ get textVisible(): boolean;
14810
14875
  dirty: boolean;
14811
14876
  textDirty: boolean;
14812
14877
  pinDirty: boolean;
@@ -15003,6 +15068,27 @@ type PaintStyle = {
15003
15068
  * Bevel configuration for extruded shapes.
15004
15069
  */
15005
15070
  bevel?: BevelState;
15071
+ /**
15072
+ * @experimental
15073
+ * The ID of the mask
15074
+ * min value is 0, max value is 255
15075
+ */
15076
+ __EXPERIMENTAL_maskId?: number;
15077
+ /**
15078
+ * Whether the masked object should be hidden or revealed when the mask is applied
15079
+ * @experimental
15080
+ */
15081
+ __EXPERIMENTAL_maskEffect?: "hide" | "reveal";
15082
+ /**
15083
+ * Whether the mask is a mask or a masked object
15084
+ * @experimental
15085
+ */
15086
+ __EXPERIMENTAL_maskMode?: "mask" | "masked-object";
15087
+ /**
15088
+ * Whether the mask is enabled
15089
+ * @experimental
15090
+ */
15091
+ __EXPERIMENTAL_maskEnabled?: boolean;
15006
15092
  };
15007
15093
  type Shading = {
15008
15094
  start?: number;
@@ -15023,6 +15109,10 @@ type LineStyle = {
15023
15109
  outline?: boolean;
15024
15110
  side?: MaterialSide;
15025
15111
  renderOrder?: number;
15112
+ __EXPERIMENTAL_maskId?: number;
15113
+ __EXPERIMENTAL_maskEnabled?: boolean;
15114
+ __EXPERIMENTAL_maskEffect?: "hide" | "reveal";
15115
+ __EXPERIMENTAL_maskMode?: "mask" | "masked-object";
15026
15116
  };
15027
15117
  type ModelProperties = {
15028
15118
  rotation?: [
@@ -15273,6 +15363,12 @@ type ImagePlacementOptions = {
15273
15363
  */
15274
15364
  minimumSizeRatio?: number;
15275
15365
  };
15366
+ type LabelRenderedState = {
15367
+ /**
15368
+ * whether the text is visible
15369
+ */
15370
+ textVisible: boolean;
15371
+ };
15276
15372
  declare const collisionRankingTierSchema: z.ZodUnion<readonly [
15277
15373
  z.ZodEnum<{
15278
15374
  low: "low";
@@ -16677,6 +16773,22 @@ declare class MapView {
16677
16773
  * ```
16678
16774
  */
16679
16775
  getState<T extends MapElementsWithState>(target: T): TGetState<T>;
16776
+ /**
16777
+ * Gets the rendered state of a map element.
16778
+ *
16779
+ * Retrieves runtime rendering state that changes frequently, such as text visibility for labels.
16780
+ *
16781
+ * @param target The map element to get the rendered state for.
16782
+ * @returns An object containing the requested rendered state keys, or undefined if not found.
16783
+ *
16784
+ * @example Get label text visibility
16785
+ * ```ts
16786
+ * const label = mapView.Labels.add(space, 'Hello');
16787
+ * const renderedState = mapView.__EXPERIMENTAL__getRenderedState(label);
16788
+ * console.log('Text visible:', renderedState?.textVisible);
16789
+ * ```
16790
+ */
16791
+ __EXPERIMENTAL__getRenderedState<T extends MapElementWithRenderedState>(target: T): TGetRenderedState<T> | undefined;
16680
16792
  /**
16681
16793
  * Sets the hover color for map elements.
16682
16794
  *
@@ -18006,6 +18118,8 @@ declare const pathStateSchemaPartial: z.ZodObject<{
18006
18118
  highlightWidthMultiplier: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
18007
18119
  highlightCompleteFraction: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
18008
18120
  xrayOpacity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
18121
+ __EXPERIMENTAL_SMOOTHING_TENSION: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
18122
+ __EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
18009
18123
  }, z.core.$strip>;
18010
18124
  declare const pathStateSchemaStrict: z.ZodObject<{
18011
18125
  type: z.ZodDefault<z.ZodLiteral<"path">>;
@@ -18020,6 +18134,8 @@ declare const pathStateSchemaStrict: z.ZodObject<{
18020
18134
  highlightWidthMultiplier: z.ZodDefault<z.ZodNumber>;
18021
18135
  highlightCompleteFraction: z.ZodDefault<z.ZodNumber>;
18022
18136
  xrayOpacity: z.ZodDefault<z.ZodNumber>;
18137
+ __EXPERIMENTAL_SMOOTHING_TENSION: z.ZodDefault<z.ZodNumber>;
18138
+ __EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: z.ZodDefault<z.ZodNumber>;
18023
18139
  }, z.core.$strict>;
18024
18140
  type TPathState = z.infer<typeof pathStateSchemaStrict>;
18025
18141
  type TPathUpdateState = z.infer<typeof pathStateSchemaPartial>;
@@ -18351,6 +18467,7 @@ declare class GeoJsonApi extends PubSub$1<TNavigationEvents> {
18351
18467
  get currentFloorStack(): FloorStack;
18352
18468
  get currentFloor(): Floor;
18353
18469
  getState<T extends MapElementsWithState | string>(target: T): TGetState<T>;
18470
+ __EXPERIMENTAL__getRenderedState<T extends MapElementWithRenderedState>(target: T): TGetRenderedState<T> | undefined;
18354
18471
  setHoverColor(c: string): void;
18355
18472
  getHoverColor(): string | undefined;
18356
18473
  /**
@@ -18534,17 +18651,49 @@ type DirectionProperties = {
18534
18651
  };
18535
18652
  type DirectionFeature = Feature$1<Point$1, DirectionProperties>;
18536
18653
  type DirectionsCollection = FeatureCollection$1<Point$1, DirectionProperties>;
18537
- type SimplifyDirectionsOptions = {
18654
+ interface DoorGeometry {
18655
+ geoJSON: {
18656
+ geometry: {
18657
+ coordinates: [
18658
+ [
18659
+ number,
18660
+ number
18661
+ ],
18662
+ [
18663
+ number,
18664
+ number
18665
+ ]
18666
+ ];
18667
+ };
18668
+ };
18669
+ }
18670
+ type BaseSimplifyOptions = {
18538
18671
  /**
18539
18672
  * Enable or disable simplifying.
18540
18673
  */
18541
18674
  enabled: boolean;
18542
18675
  /**
18543
18676
  * The radius of the buffer around the path to consider when simplifying, in meters.
18544
- * @default 0.7
18677
+ * @default 0.4
18678
+ */
18679
+ radius?: number;
18680
+ };
18681
+ type GreedyLosOptions = BaseSimplifyOptions & {
18682
+ __EXPERIMENTAL_METHOD?: "greedy-los";
18683
+ };
18684
+ type RdpOptions = BaseSimplifyOptions & {
18685
+ __EXPERIMENTAL_METHOD: "rdp";
18686
+ };
18687
+ type DpOptimalOptions = BaseSimplifyOptions & {
18688
+ __EXPERIMENTAL_METHOD: "dp-optimal";
18689
+ /**
18690
+ * Whether to include door buffer nodes in DP simplification.
18691
+ * When true, predecessor and successor nodes of doors are marked with preventSmoothing.
18692
+ * @default false
18545
18693
  */
18546
- bufferRadius?: number;
18694
+ includeDoorBufferNodes?: boolean;
18547
18695
  };
18696
+ type SimplifyDirectionsOptions = GreedyLosOptions | RdpOptions | DpOptimalOptions;
18548
18697
  type DirectionsZone = {
18549
18698
  geometry: Feature$1<MultiPolygon$1 | Polygon$1>;
18550
18699
  /**
@@ -18562,6 +18711,7 @@ declare class Navigator$1 {
18562
18711
  graph: NavigationGraph;
18563
18712
  private geometryEdgesByMapId;
18564
18713
  private flagDeclarations;
18714
+ private getDoorByNodeId;
18565
18715
  private disabledNodeIds;
18566
18716
  /**
18567
18717
  * Constructs a Navigator instance to manage pathfinding with optional obstructions and grouping features.
@@ -18570,13 +18720,15 @@ declare class Navigator$1 {
18570
18720
  * @param {ObstructionCollection} [obstructions] - Optional collection of obstructions that could block paths.
18571
18721
  * @param {SpaceCollection} [spaces] - Optional collection of spaces that could block paths.
18572
18722
  * @param {string} [groupBy] - Optional property name to group nodes and paths for differentiated processing.
18723
+ * @param {Function} getDoorByNodeId - Function to get door object by node ID.
18573
18724
  */
18574
- constructor({ nodes, geojsonCollection, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, }: {
18725
+ constructor({ nodes, geojsonCollection, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, getDoorByNodeId, }: {
18575
18726
  nodes: NodeCollection$1;
18576
18727
  geojsonCollection?: ObstructionCollection | SpaceCollection;
18577
18728
  groupBy?: string;
18578
18729
  multiplicativeDistanceWeightScaling?: boolean;
18579
18730
  flagDeclarations?: NavigationFlagDeclarations;
18731
+ getDoorByNodeId: (nodeId: string) => DoorGeometry | undefined;
18580
18732
  });
18581
18733
  private getDisabledNodeIds;
18582
18734
  /**
@@ -18589,9 +18741,11 @@ declare class Navigator$1 {
18589
18741
  * @param {SimplifyDirectionsOptions} [simplify] - Options to simplify the pathfinding result.
18590
18742
  * @returns {DirectionsCollection} A collection of directional features representing the path.
18591
18743
  */
18592
- getDirections({ zones: directionsZones, originIds, destinationNodeIds, disabledConnectionNodeIds, simplify, multiplicativeDistanceWeightScaling, overrideEdgeWeights, }: {
18744
+ getDirections({ zones: directionsZones, originIds, from, to, destinationNodeIds, disabledConnectionNodeIds, simplify, multiplicativeDistanceWeightScaling, overrideEdgeWeights, }: {
18593
18745
  originIds: string[];
18594
18746
  destinationNodeIds: string[];
18747
+ from: NodeFeature[];
18748
+ to: NodeFeature[];
18595
18749
  zones?: DirectionsZone[];
18596
18750
  disabledConnectionNodeIds?: string[];
18597
18751
  simplify?: SimplifyDirectionsOptions;
@@ -18606,11 +18760,21 @@ declare class Navigator$1 {
18606
18760
  */
18607
18761
  private generatePath;
18608
18762
  /**
18609
- * Simplifies a sequence of steps by reducing unnecessary nodes using a buffer radius to check for obstructions.
18763
+ * Simplifies a sequence of steps by reducing unnecessary nodes using line-of-sight checks.
18764
+ *
18765
+ * Method Selection:
18766
+ * - 'greedy-los': Greedy forward scan with line-of-sight validation. Fastest, O(n) time complexity. Good default choice.
18767
+ * - 'rdp': Uses Ramer-Douglas-Peucker preprocessing + line-of-sight validation + door buffer nodes.
18768
+ * Better for paths with doors and complex geometry. Medium speed.
18769
+ * - 'dp-optimal': Dynamic Programming for globally optimal simplification. Slowest but highest quality, O(n²) complexity.
18770
+ * Best when path quality is critical (e.g., indoor navigation with many turns).
18771
+ *
18772
+ * Performance: greedy-los < rdp < dp-optimal
18773
+ * Quality: greedy-los < rdp < dp-optimal
18610
18774
  *
18611
18775
  * @param {Edge[]} steps - The steps to simplify.
18612
- * @param {number} bufferRadius - The buffer radius to use
18613
- * for simplification.
18776
+ * @param {SimplifyDirectionsOptions} options - Simplification options.
18777
+ * @param {boolean} multiplicativeDistanceWeightScaling - Distance weight scaling option.
18614
18778
  * @returns {Edge[]} An array of simplified edges representing a more direct path.
18615
18779
  */
18616
18780
  private simplifyAllSteps;
@@ -18653,6 +18817,8 @@ declare class Navigator$1 {
18653
18817
  * @returns {Edge[]} An array of simplified edges.
18654
18818
  */
18655
18819
  private simplifySteps;
18820
+ private simplifyStepsImprovedWithSimplifyBeforeLoSChecks;
18821
+ private simplifyStepsWithDPMethod;
18656
18822
  /**
18657
18823
  * Calculates the approximate distance between two geographic coordinates on Earth's surface.
18658
18824
  *
@@ -18734,13 +18900,14 @@ declare class DirectionsInternal {
18734
18900
  /**
18735
18901
  * @hidden
18736
18902
  */
18737
- constructor({ nodes, geojsonCollection, connections, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, }: {
18903
+ constructor({ nodes, geojsonCollection, connections, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, getDoorByNodeId, }: {
18738
18904
  nodes: ParsedMVF["node.geojson"];
18739
18905
  geojsonCollection: ParsedMVF["obstruction"] | ParsedMVF["space"];
18740
18906
  connections: ParsedMVF["connection.json"];
18741
18907
  groupBy?: string;
18742
18908
  multiplicativeDistanceWeightScaling?: boolean;
18743
18909
  flagDeclarations?: ParsedMVF["navigationFlags.json"];
18910
+ getDoorByNodeId: (nodeId: string) => DoorGeometry | undefined;
18744
18911
  });
18745
18912
  processTargets(fromNodesByTarget: Map<TNavigationTarget, string[]>, toNodesByTarget: Map<TNavigationTarget, string[]>, mapData: MapDataInternal): {
18746
18913
  originIds: string[];
@@ -18749,10 +18916,7 @@ declare class DirectionsInternal {
18749
18916
  };
18750
18917
  getDirections: (from: TNavigationTarget[], to: TNavigationTarget[], options: {
18751
18918
  accessible: boolean;
18752
- smoothing: {
18753
- enabled: boolean;
18754
- radius: number;
18755
- };
18919
+ smoothing: SimplifyDirectionsOptions;
18756
18920
  zones: TDirectionZone[];
18757
18921
  excludedConnections: Connection[];
18758
18922
  connectionIdWeightMap: Record<string, number>;
@@ -18760,10 +18924,7 @@ declare class DirectionsInternal {
18760
18924
  /** @deprecated use getDirections instead */
18761
18925
  getDirectionsSync: (from: TNavigationTarget[], to: TNavigationTarget[], options: {
18762
18926
  accessible: boolean;
18763
- smoothing: {
18764
- enabled: boolean;
18765
- radius: number;
18766
- };
18927
+ smoothing: SimplifyDirectionsOptions;
18767
18928
  zones: TDirectionZone[];
18768
18929
  excludedConnections: Connection[];
18769
18930
  connectionIdWeightMap: Record<string, number>;
@@ -19122,6 +19283,20 @@ type TAddPathOptions = {
19122
19283
  * @defaultValue 0.25
19123
19284
  */
19124
19285
  xrayOpacity?: number;
19286
+ /**
19287
+ * @experimental Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
19288
+ * Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
19289
+ *
19290
+ * @defaultValue 0.0
19291
+ */
19292
+ __EXPERIMENTAL_SMOOTHING_TENSION?: number;
19293
+ /**
19294
+ * @experimental Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
19295
+ * Only applies when __EXPERIMENTAL_SMOOTHING_TENSION > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
19296
+ *
19297
+ * @defaultValue 0.5
19298
+ */
19299
+ __EXPERIMENTAL_SMOOTHING_CORNER_RADIUS?: number;
19125
19300
  };
19126
19301
  type TCollisionRankingTier = "low" | "medium" | "high" | "always-visible";
19127
19302
  type TMarkerPlacement = MarkerPlacement;
@@ -19133,31 +19308,121 @@ type TGetDirectionsOptions = {
19133
19308
  */
19134
19309
  accessible?: boolean;
19135
19310
  /**
19136
- * Enable or disable line-of-sight directions smoothing.
19137
- * With this option enabled, the directions will be simplified to provide a more visually appealing path and shorter instructions.
19311
+ * Enable or disable path smoothing for directions.
19312
+ * When enabled, the path is simplified using line-of-sight checks to provide a more visually appealing route and shorter instructions.
19138
19313
  *
19139
- * Can be a boolean to enable or disable smoothing, or an object with a radius property to specify the line of sight radius in metres.
19314
+ * Can be a boolean to enable or disable smoothing, or an object with configuration options.
19315
+ *
19316
+ * **Available methods:**
19317
+ * - `'greedy-los'` (default): Greedy forward scan with line-of-sight validation. Fastest, O(n) time complexity. Good default choice.
19318
+ * - `'rdp'`: Uses Ramer-Douglas-Peucker preprocessing + line-of-sight validation + door buffer nodes. Better for paths with doors and complex geometry. Medium speed.
19319
+ * - `'dp-optimal'`: Dynamic Programming for globally optimal simplification. Slowest but highest quality, O(n²) complexity. Best when path quality is critical.
19140
19320
  *
19141
19321
  * @default true for non-enterprise mode, false for enterprise mode
19142
19322
  *
19143
19323
  * @example
19144
19324
  * ```ts
19145
- * // Enable smoothing with a radius of 3 metres
19325
+ * // Enable smoothing with default settings
19146
19326
  * mapView.getDirections(firstSpace, secondSpace, {
19147
- * smoothing: {
19148
- * radius: 3,
19327
+ * smoothing: true
19328
+ * })
19329
+ *
19330
+ * // Enable smoothing with custom radius (in meters)
19331
+ * mapView.getDirections(firstSpace, secondSpace, {
19332
+ * smoothing: {
19333
+ * radius: 1.5,
19149
19334
  * }
19150
19335
  * })
19151
19336
  *
19152
- * // Explicitly enable smoothing in enterprise mode
19337
+ * // Use greedy line-of-sight method (default, explicit)
19153
19338
  * mapView.getDirections(firstSpace, secondSpace, {
19154
- * smoothing: true
19339
+ * smoothing: {
19340
+ * enabled: true,
19341
+ * __EXPERIMENTAL_METHOD: 'greedy-los',
19342
+ * radius: 0.4,
19343
+ * }
19344
+ * })
19345
+ *
19346
+ * // Use RDP method (always uses line-of-sight)
19347
+ * mapView.getDirections(firstSpace, secondSpace, {
19348
+ * smoothing: {
19349
+ * enabled: true,
19350
+ * __EXPERIMENTAL_METHOD: 'rdp',
19351
+ * radius: 0.4,
19352
+ * }
19353
+ * })
19354
+ *
19355
+ * // Use DP-optimal method with door buffer nodes
19356
+ * mapView.getDirections(firstSpace, secondSpace, {
19357
+ * smoothing: {
19358
+ * enabled: true,
19359
+ * __EXPERIMENTAL_METHOD: 'dp-optimal',
19360
+ * __EXPERIMENTAL_INCLUDE_DOOR_BUFFER_NODES: true,
19361
+ * radius: 0.4,
19362
+ * }
19155
19363
  * })
19156
19364
  * ```
19157
19365
  */
19158
19366
  smoothing?: boolean | {
19367
+ /**
19368
+ * Enable or disable path smoothing.
19369
+ * @default true for non-enterprise mode, false for enterprise mode
19370
+ */
19159
19371
  enabled?: boolean;
19160
- radius: number;
19372
+ /**
19373
+ * The radius of the buffer around the path to consider when simplifying, in meters.
19374
+ * @default 0.75
19375
+ */
19376
+ radius?: number;
19377
+ /**
19378
+ * @experimental
19379
+ * Path smoothing method using greedy line-of-sight algorithm.
19380
+ * Fastest method with O(n) time complexity. Good default choice.
19381
+ * @default 'greedy-los'
19382
+ */
19383
+ __EXPERIMENTAL_METHOD?: "greedy-los";
19384
+ } | {
19385
+ /**
19386
+ * Enable or disable path smoothing.
19387
+ * @default true for non-enterprise mode, false for enterprise mode
19388
+ */
19389
+ enabled?: boolean;
19390
+ /**
19391
+ * The radius of the buffer around the path to consider when simplifying, in meters.
19392
+ * @default 0.75
19393
+ */
19394
+ radius?: number;
19395
+ /**
19396
+ * @experimental
19397
+ * Path smoothing method using Ramer-Douglas-Peucker preprocessing with line-of-sight validation.
19398
+ * Better for paths with doors and complex geometry. Medium speed.
19399
+ * Always uses line-of-sight validation (cannot be disabled).
19400
+ */
19401
+ __EXPERIMENTAL_METHOD: "rdp";
19402
+ } | {
19403
+ /**
19404
+ * Enable or disable path smoothing.
19405
+ * @default true for non-enterprise mode, false for enterprise mode
19406
+ */
19407
+ enabled?: boolean;
19408
+ /**
19409
+ * The radius of the buffer around the path to consider when simplifying, in meters.
19410
+ * @default 0.75
19411
+ */
19412
+ radius?: number;
19413
+ /**
19414
+ * @experimental
19415
+ * Path smoothing method using Dynamic Programming for globally optimal simplification.
19416
+ * Slowest but highest quality, O(n²) complexity. Best when path quality is critical.
19417
+ */
19418
+ __EXPERIMENTAL_METHOD: "dp-optimal";
19419
+ /**
19420
+ * @experimental
19421
+ * Whether to include 0.5m buffer nodes perpendicular to doors in DP simplification.
19422
+ * When true, predecessor and successor nodes of doors are marked with preventSmoothing.
19423
+ * @default false
19424
+ */
19425
+ __EXPERIMENTAL_INCLUDE_DOOR_BUFFER_NODES?: boolean;
19161
19426
  };
19162
19427
  /**
19163
19428
  * Defines the special zones for navigation operations.
@@ -19349,9 +19614,16 @@ type WithState<T> = T extends {
19349
19614
  type TUpdateState<T extends MapElementsWithState | string> = T extends {
19350
19615
  __type: infer U;
19351
19616
  } ? U extends keyof MapElementToUpdateState ? MapElementToUpdateState[U] : never : T extends string ? T extends keyof MapElementToUpdateState ? MapElementToUpdateState[T] : Record<string, any> : never;
19617
+ type MapElementToGetRenderedState = {
19618
+ [Label.__type]: ReadonlyDeep<LabelRenderedState>;
19619
+ };
19352
19620
  type TGetState<T extends MapElementsWithState | string> = T extends {
19353
19621
  __type: infer U;
19354
19622
  } ? U extends keyof MapElementToGetState ? MapElementToGetState[U] : never : T extends string ? T extends keyof MapElementToGetState ? MapElementToGetState[T] : Record<string, any> : never;
19623
+ type MapElementWithRenderedState = WithState<Label>;
19624
+ type TGetRenderedState<T extends MapElementWithRenderedState | string> = T extends {
19625
+ __type: infer U;
19626
+ } ? U extends keyof MapElementToGetRenderedState ? MapElementToGetRenderedState[U] : never : T extends string ? T extends keyof MapElementToGetRenderedState ? MapElementToGetRenderedState[T] : Record<string, any> : never;
19355
19627
  type GlobalState = {
19356
19628
  /**
19357
19629
  * The color of the background, in hex format(#000000).
@@ -20337,8 +20609,7 @@ declare class Connection extends DetailedMapData<Feature<Point, SpaceProperties>
20337
20609
  * @internal
20338
20610
  */
20339
20611
  constructor(data: MapDataInternal, options: {
20340
- mvfDataByFloorId: Record<string, FeatureCollection<Point, SpaceProperties>["features"][number]> | Record<string, Feature<Point, MVFConnection>>;
20341
- accessible?: boolean;
20612
+ mvfData: MVFConnection;
20342
20613
  });
20343
20614
  /**
20344
20615
  * Whether the connection is accessible. For example elevators are accessible while stairs are not.
@@ -20374,10 +20645,6 @@ declare class Connection extends DetailedMapData<Feature<Point, SpaceProperties>
20374
20645
  * @returns {Floor[]} An array of floors for the connection.
20375
20646
  */
20376
20647
  get floors(): Floor[];
20377
- /**
20378
- * Gets the location profiles ({@link LocationProfile}) associated with the connection.
20379
- */
20380
- get locationProfiles(): LocationProfile[];
20381
20648
  /** @internal */
20382
20649
  get focusTarget(): Coordinate[];
20383
20650
  /**
@@ -21007,8 +21274,6 @@ type MapDataRecords = {
21007
21274
  locationProfilesByExternalId: Record<string, LocationProfile[]>;
21008
21275
  objectEntranceNodeIdsByObstructionId: Record<string, string[]>;
21009
21276
  obstructionIdByEntranceId: Record<string, string>;
21010
- connectionIdsByLatLon: Record<string, string[]>;
21011
- mvfConnectionIdsByLatLon: Record<string, string[]>;
21012
21277
  locationProfilesByAttachedFeatureId: Record<string, LocationProfile[]>;
21013
21278
  mvfSpacesById: Record<string, SpaceCollection["features"][number]>;
21014
21279
  mvfNodesById: Record<string, NodeCollection["features"][number]>;
@@ -21597,7 +21862,6 @@ declare class MapDataInternal extends PubSub$1<{
21597
21862
  mvfAnnotationsById: MapDataRecords["mvfAnnotationsById"];
21598
21863
  mvfConnectionsById: MapDataRecords["mvfConnectionsById"];
21599
21864
  mvfConnectionsByNodeId: MapDataRecords["mvfConnectionsByNodeId"];
21600
- mvfConnectionIdsByLatLon: MapDataRecords["mvfConnectionIdsByLatLon"];
21601
21865
  mvfEntrancesById: MapDataRecords["mvfEntrancesById"];
21602
21866
  mvfNodesById: MapDataRecords["mvfNodesById"];
21603
21867
  mvfObstructionById: MapDataRecords["mvfObstructionById"];
@@ -21613,7 +21877,6 @@ declare class MapDataInternal extends PubSub$1<{
21613
21877
  floorStacksByExternalId: MapDataRecords["floorStacksByExternalId"];
21614
21878
  doorsByExternalId: MapDataRecords["doorsByExternalId"];
21615
21879
  areasByExternalId: MapDataRecords["areasByExternalId"];
21616
- connectionSpaceIdsByLatLon: MapDataRecords["connectionIdsByLatLon"];
21617
21880
  locationProfilesByAttachedFeatureId: MapDataRecords["locationProfilesByAttachedFeatureId"];
21618
21881
  entranceNodeIdsBySpaceId?: MapDataRecords["entranceNodeIdsBySpaceId"];
21619
21882
  locationsById: EnterpriseMapDataRecords["locationsById"];
@@ -21812,6 +22075,13 @@ declare class MapDataInternal extends PubSub$1<{
21812
22075
  getDirections: (from: TNavigationTarget | TNavigationTarget[], to: TNavigationTarget | TNavigationTarget[], opt?: TGetDirectionsOptions) => Promise<Directions | undefined>;
21813
22076
  getDirectionsMultiDestination: (from: TNavigationTarget | TNavigationTarget[], to: TNavigationTarget | (TNavigationTarget | TNavigationTarget[])[], opt?: TGetDirectionsOptions) => Promise<Directions[] | undefined>;
21814
22077
  getDistance(from: Space | Door | Coordinate | MapObject | PointOfInterest | Annotation | Node$1 | EnterpriseLocation | Area, to: Space | Door | Coordinate | MapObject | PointOfInterest | Annotation | Node$1 | EnterpriseLocation | Area): number;
22078
+ /**
22079
+ * Gets the door associated with a node.
22080
+ *
22081
+ * @param nodeId The ID of the node to check
22082
+ * @returns The door object if the node is associated with a door, undefined otherwise
22083
+ */
22084
+ getDoorByNodeId: (nodeId: string) => Door | undefined;
21815
22085
  transformImageRequest: (url: string) => Promise<{
21816
22086
  url: string;
21817
22087
  }>;
@@ -23084,7 +23354,7 @@ declare namespace schemas {
23084
23354
  export { $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $PartsToTemplateLiteral, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntInternals, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUIDDef, $ZodCUIDInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLooseShape, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberInternals, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringDef, $ZodStringFormat, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatTypes, $ZodStringInternals, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodType, $ZodTypeDef, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $catchall, $loose, $partial, $strict, $strip, CheckFn, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, File$1 as File, ParseContext, ParseContextInternal, ParsePayload, SomeType, ToTemplateLiteral, _$ZodType, _$ZodTypeInternals, clone, isValidBase64, isValidBase64URL, isValidJWT };
23085
23355
  }
23086
23356
  declare namespace util {
23087
- export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
23357
+ export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask$1 as Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
23088
23358
  }
23089
23359
  declare namespace JSONSchema$1 {
23090
23360
  export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, StringSchema, _JSONSchema };