@micrio/client 5.4.32 → 5.5.1

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.
package/micrio.min.d.ts CHANGED
@@ -4,7 +4,7 @@ declare module '@micrio/client' {
4
4
  * Defines the current version of the Micrio library.
5
5
  * This constant is used internally and exposed statically via `HTMLMicrioElement.VERSION`.
6
6
  */
7
- export const VERSION = "5.4.32";
7
+ export const VERSION = "5.5.1";
8
8
  /**
9
9
  * Loads an image texture asynchronously. Adds the request to the queue
10
10
  * and returns a Promise that resolves with the TextureBitmap or rejects on error.
@@ -36,6 +36,21 @@ declare module '@micrio/client' {
36
36
  Vimeo = 2
37
37
  }
38
38
  export { isLegacyViews };
39
+ /**
40
+ * Marker clustering algorithm for calculating overlapping markers
41
+ * and generating cluster marker objects.
42
+ * @author Marcel Duin <marcel@micr.io>
43
+ */
44
+ type MarkerData = Models.ImageData.Marker;
45
+ export type MarkerCoords = [x: number, y: number, w?: number, h?: number];
46
+ export interface ClusterResult {
47
+ overlapped: number[];
48
+ clusterMarkers: MarkerData[];
49
+ }
50
+ /**
51
+ * Calculates which markers overlap and generates synthetic cluster markers.
52
+ */
53
+ export function calcClusters(visibleMarkers: MarkerData[] | undefined, coords: Map<string, MarkerCoords>, r: number, isOmni: boolean): ClusterResult;
39
54
  /**
40
55
  * Media utilities for source parsing, type detection, and player management.
41
56
  * @author Marcel Duin <marcel@micr.io>
@@ -104,14 +119,10 @@ declare module '@micrio/client' {
104
119
  export { loadSerialTour } from "ts/utils/tour";
105
120
  export { getIdVal, idIsV5 } from "ts/utils/id";
106
121
  export { getSpaceVector } from "ts/utils/space";
107
- export { hasNativeHLS, parseMediaSource, getIOSAudioElement, YOUTUBE_HOST } from "ts/utils/media";
122
+ export { calcClusters } from "ts/utils/clustering";
123
+ export type { MarkerCoords, ClusterResult } from "ts/utils/clustering";
124
+ export { hasNativeHLS, parseMediaSource, getIOSAudioElement, getAudioSrc, getMarkerCulture, getMenuCulture, YOUTUBE_HOST } from "ts/utils/media";
108
125
  export type { ParsedMediaSource } from "ts/utils/media";
109
- /**
110
- * Global utility functions used throughout the Micrio application.
111
- * This file re-exports all utilities from the modular utils/ directory.
112
- * @author Marcel Duin <marcel@micr.io>
113
- */
114
- export * from "ts/utils/index";
115
126
  /**
116
127
  * Defines various enums used throughout the Micrio application,
117
128
  * primarily for standardizing action types and option values.
@@ -768,35 +779,20 @@ declare module '@micrio/client' {
768
779
  set(input?: string | MicrioImage[] | ({
769
780
  image: MicrioImage;
770
781
  } & Models.Grid.GridImageOptions)[], opts?: {
771
- /** If true, does not add the previous layout to the history stack. */
772
782
  noHistory?: boolean;
773
- /** If true, keeps the HTML grid element in the DOM (used internally). */
774
783
  keepGrid?: boolean;
775
- /** If true, arranges images in a single horizontal row. */
776
784
  horizontal?: boolean;
777
- /** Overrides the default animation duration for the main grid view transition. */
778
785
  duration?: number;
779
- /** If provided, animates the main grid view to this viewport rectangle. */
780
786
  view?: Models.Camera.View;
781
- /** If true, skips the main grid camera animation. */
782
787
  noCamAni?: boolean;
783
- /** If true, forces area animation even for images not currently visible. */
784
788
  forceAreaAni?: boolean;
785
- /** If true, does not unfocus the currently focused image when setting a new layout. */
786
789
  noBlur?: boolean;
787
- /** If true, skips the fade-in animation for new images. */
788
790
  noFade?: boolean;
789
- /** Specifies the transition animation type (e.g., 'crossfade', 'slide-left', 'behind-delayed'). */
790
791
  transition?: Models.Grid.GridSetTransition;
791
- /** If true, forces animation even if duration is 0. */
792
792
  forceAni?: boolean;
793
- /** If true, limits individual image views to cover their grid cell. */
794
793
  coverLimit?: boolean;
795
- /** If true, sets the initial view of images to cover their grid cell (but doesn't enforce limit). */
796
794
  cover?: boolean;
797
- /** Scale factor (0-1) applied to each grid cell (creates margins). */
798
795
  scale?: number;
799
- /** Overrides the automatic calculation of grid columns. */
800
796
  columns?: number;
801
797
  }): Promise<MicrioImage[]>;
802
798
  /**
@@ -810,7 +806,7 @@ declare module '@micrio/client' {
810
806
  * @returns The grid encoded string for this image.
811
807
  */
812
808
  getString: (i: Models.ImageInfo.ImageInfo, opts?: Models.Grid.GridImageOptions) => string;
813
- /** Fade out unused images in the grid
809
+ /** Fade out unused images in the grid and clean up their button references.
814
810
  * @param images The images to hide
815
811
  */
816
812
  private removeImages;
@@ -908,6 +904,40 @@ declare module '@micrio/client' {
908
904
  */
909
905
  private setProgress;
910
906
  }
907
+ /**
908
+ * Lightweight inline SVG icon definitions, replacing @fortawesome/free-solid-svg-icons + svelte-fa.
909
+ * Each icon is a tuple: [width, height, svgPath].
910
+ * @author Marcel Duin <marcel@micr.io>
911
+ */
912
+ export type MicrioIcon = [width: number, height: number, path: string];
913
+ export const icons: {
914
+ readonly arrowDown: [384, 512, "M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"];
915
+ readonly arrowLeft: [512, 512, "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"];
916
+ readonly arrowRight: [512, 512, "M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"];
917
+ readonly arrowUp: [384, 512, "M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"];
918
+ readonly bars: [448, 512, "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"];
919
+ readonly chevronDown: [448, 512, "M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"];
920
+ readonly circleExclamation: [512, 512, "M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"];
921
+ readonly closedCaptioning: [512, 512, "M0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128zm152 80l32 0c4.4 0 8 3.6 8 8 0 13.3 10.7 24 24 24s24-10.7 24-24c0-30.9-25.1-56-56-56l-32 0c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l32 0c30.9 0 56-25.1 56-56 0-13.3-10.7-24-24-24s-24 10.7-24 24c0 4.4-3.6 8-8 8l-32 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8zm168 8c0-4.4 3.6-8 8-8l32 0c4.4 0 8 3.6 8 8 0 13.3 10.7 24 24 24s24-10.7 24-24c0-30.9-25.1-56-56-56l-32 0c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l32 0c30.9 0 56-25.1 56-56 0-13.3-10.7-24-24-24s-24 10.7-24 24c0 4.4-3.6 8-8 8l-32 0c-4.4 0-8-3.6-8-8l0-80z"];
922
+ readonly compress: [448, 512, "M160 64c0-17.7-14.3-32-32-32S96 46.3 96 64l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 320c-17.7 0-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0z"];
923
+ readonly ellipsisVertical: [128, 512, "M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z"];
924
+ readonly expand: [448, 512, "M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"];
925
+ readonly externalLink: [512, 512, "M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0-201.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 80c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 96z"];
926
+ readonly globe: [512, 512, "M351.9 280l-190.9 0c2.9 64.5 17.2 123.9 37.5 167.4 11.4 24.5 23.7 41.8 35.1 52.4 11.2 10.5 18.9 12.2 22.9 12.2s11.7-1.7 22.9-12.2c11.4-10.6 23.7-28 35.1-52.4 20.3-43.5 34.6-102.9 37.5-167.4zM160.9 232l190.9 0C349 167.5 334.7 108.1 314.4 64.6 303 40.2 290.7 22.8 279.3 12.2 268.1 1.7 260.4 0 256.4 0s-11.7 1.7-22.9 12.2c-11.4 10.6-23.7 28-35.1 52.4-20.3 43.5-34.6 102.9-37.5 167.4zm-48 0C116.4 146.4 138.5 66.9 170.8 14.7 78.7 47.3 10.9 131.2 1.5 232l111.4 0zM1.5 280c9.4 100.8 77.2 184.7 169.3 217.3-32.3-52.2-54.4-131.7-57.9-217.3L1.5 280zm398.4 0c-3.5 85.6-25.6 165.1-57.9 217.3 92.1-32.7 159.9-116.5 169.3-217.3l-111.4 0zm111.4-48C501.9 131.2 434.1 47.3 342 14.7 374.3 66.9 396.4 146.4 399.9 232l111.4 0z"];
927
+ readonly image: [448, 512, "M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"];
928
+ readonly layerGroup: [512, 512, "M232.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"];
929
+ readonly link: [576, 512, "M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"];
930
+ readonly minus: [448, 512, "M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"];
931
+ readonly pause: [384, 512, "M48 32C21.5 32 0 53.5 0 80L0 432c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48L48 32zm224 0c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-64 0z"];
932
+ readonly play: [448, 512, "M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z"];
933
+ readonly playCircle: [512, 512, "M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"];
934
+ readonly plus: [448, 512, "M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"];
935
+ readonly share: [512, 512, "M307.8 18.4c-12 5-19.8 16.6-19.8 29.6l0 80-112 0c-97.2 0-176 78.8-176 176 0 113.3 81.5 163.9 100.2 174.1 2.5 1.4 5.3 1.9 8.1 1.9 10.9 0 19.7-8.9 19.7-19.7 0-7.5-4.3-14.4-9.8-19.5-9.4-8.8-22.2-26.4-22.2-56.7 0-53 43-96 96-96l96 0 0 80c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-9.2-9.2-22.9-11.9-34.9-6.9z"];
936
+ readonly video: [576, 512, "M96 64c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L96 64zM464 336l73.5 58.8c4.2 3.4 9.4 5.2 14.8 5.2 13.1 0 23.7-10.6 23.7-23.7l0-240.6c0-13.1-10.6-23.7-23.7-23.7-5.4 0-10.6 1.8-14.8 5.2L464 176 464 336z"];
937
+ readonly volumeHigh: [640, 512, "M533.6 32.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C557.5 113.8 592 180.8 592 256s-34.5 142.2-88.7 186.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C598.5 426.7 640 346.2 640 256S598.5 85.2 533.6 32.5zM473.1 107c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C475.3 170.7 496 210.9 496 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5zM80 352l48 0 134.1 119.2c6.4 5.7 14.6 8.8 23.1 8.8 19.2 0 34.8-15.6 34.8-34.8l0-378.4c0-19.2-15.6-34.8-34.8-34.8-8.5 0-16.7 3.1-23.1 8.8L128 160 80 160c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48z"];
938
+ readonly volumeXmark: [576, 512, "M48 352l48 0 134.1 119.2c6.4 5.7 14.6 8.8 23.1 8.8 19.2 0 34.8-15.6 34.8-34.8l0-378.4c0-19.2-15.6-34.8-34.8-34.8-8.5 0-16.7 3.1-23.1 8.8L96 160 48 160c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48zM367 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"];
939
+ readonly xmark: [384, 512, "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"];
940
+ };
911
941
  /**
912
942
  * # Micrio JSON data model
913
943
  *
@@ -923,6 +953,10 @@ declare module '@micrio/client' {
923
953
  *
924
954
  */
925
955
  export namespace Models {
956
+ /** Language-keyed localization map. */
957
+ type I18n<T> = {
958
+ [lang: string]: T;
959
+ };
926
960
  type RevisionType = {
927
961
  [key: string]: number;
928
962
  };
@@ -1207,7 +1241,8 @@ declare module '@micrio/client' {
1207
1241
  _360?: {
1208
1242
  /** A 360 video object */
1209
1243
  video?: Assets.Video;
1210
- /** Y rotation true north correction */
1244
+ /** @deprecated Use `Spaces.SpaceImage.rotationY` (radians). Normalized
1245
+ * [0,1] image-X offset, 0.5 = identity. Still honoured for back-compat. */
1211
1246
  trueNorth?: number;
1212
1247
  /** 2D embed X rotation in 360 */
1213
1248
  rotX?: number;
@@ -1457,9 +1492,7 @@ declare module '@micrio/client' {
1457
1492
  /** V5+: Save revision */
1458
1493
  revision?: RevisionType;
1459
1494
  /** Localized image details */
1460
- i18n?: {
1461
- [key: string]: ImageDetailsCultureData;
1462
- };
1495
+ i18n?: I18n<ImageDetailsCultureData>;
1463
1496
  /** Markers */
1464
1497
  markers?: ImageData.Marker[];
1465
1498
  /** Marker tours */
@@ -1518,9 +1551,7 @@ declare module '@micrio/client' {
1518
1551
  x: number;
1519
1552
  /** The relative marker Y coordinate [0-1] */
1520
1553
  y: number;
1521
- i18n?: {
1522
- [key: string]: MarkerCultureData;
1523
- };
1554
+ i18n?: I18n<MarkerCultureData>;
1524
1555
  /** Omni-objects: radius from center */
1525
1556
  radius?: number;
1526
1557
  /** Rotation is concave: it's on the back of a front-rounded shape */
@@ -1536,11 +1567,11 @@ declare module '@micrio/client' {
1536
1567
  /** Content type, for displaying */
1537
1568
  type?: ('default' | 'image' | 'audio' | 'video' | 'media' | 'link' | 'waypoint' | 'cluster');
1538
1569
  /** Popup type */
1539
- popupType: ('popup' | 'popover' | 'none' | 'micrioLink');
1570
+ popupType?: ('popup' | 'popover' | 'none' | 'micrioLink');
1540
1571
  /** If type is area, this HTML embed will be used for the marker */
1541
1572
  clickableArea?: Models.ImageData.Embed;
1542
1573
  /** Custom marker tags which will be also used as classnames on the marker elements */
1543
- tags: string[];
1574
+ tags?: string[];
1544
1575
  /** Autoplay the audio asset when the marker is opened */
1545
1576
  audioAutoPlay?: boolean;
1546
1577
  /** Autoplay video embed when the marker is opened */
@@ -1673,9 +1704,7 @@ declare module '@micrio/client' {
1673
1704
  /** The tour id */
1674
1705
  id: string;
1675
1706
  /** Localized tour culture data */
1676
- i18n?: {
1677
- [key: string]: TourCultureData;
1678
- };
1707
+ i18n?: I18n<TourCultureData>;
1679
1708
  /** Auto-minimize controls while playing and idle */
1680
1709
  minimize?: boolean;
1681
1710
  /** Cannot close this tour */
@@ -1712,9 +1741,7 @@ declare module '@micrio/client' {
1712
1741
  */
1713
1742
  type VideoTour = Tour & {
1714
1743
  /** Localized videotour culture data */
1715
- i18n?: {
1716
- [key: string]: VideoTourCultureData;
1717
- };
1744
+ i18n?: I18n<VideoTourCultureData>;
1718
1745
  /** Don't hide the markers when running */
1719
1746
  keepMarkers?: boolean;
1720
1747
  /** Don't disable user navigation when running */
@@ -1819,9 +1846,7 @@ declare module '@micrio/client' {
1819
1846
  /** The menu ID */
1820
1847
  id: string;
1821
1848
  /** Localized culture data */
1822
- i18n?: {
1823
- [key: string]: MenuCultureData;
1824
- };
1849
+ i18n?: I18n<MenuCultureData>;
1825
1850
  /** Child menu elements */
1826
1851
  children?: Menu[];
1827
1852
  /** Open this marker when clicking menu */
@@ -1887,12 +1912,10 @@ declare module '@micrio/client' {
1887
1912
  /** Used DeepZoom format */
1888
1913
  isDeepZoom?: boolean;
1889
1914
  /** V5+: Translatable description */
1890
- i18n?: {
1891
- [key: string]: {
1892
- title?: string;
1893
- description?: string;
1894
- };
1895
- };
1915
+ i18n?: I18n<{
1916
+ title?: string;
1917
+ description?: string;
1918
+ }>;
1896
1919
  };
1897
1920
  type Video = BaseAsset & {
1898
1921
  /** The video width */
@@ -1931,7 +1954,7 @@ declare module '@micrio/client' {
1931
1954
  y: number;
1932
1955
  /** Z position of 360 image in zone */
1933
1956
  z: number;
1934
- /** RotationY => .trueNorth */
1957
+ /** Y-axis sphere rotation in radians (aligns linked 360 images). */
1935
1958
  rotationY: number;
1936
1959
  }
1937
1960
  interface Space {
@@ -2070,20 +2093,22 @@ declare module '@micrio/client' {
2070
2093
  hooked?: boolean;
2071
2094
  }
2072
2095
  namespace Camera {
2073
- /** A viewport rectangle [x0,y0,x1,y1] */
2074
- type ViewRect = number[] | Float64Array;
2075
- /** An area definition [x0,y0,width,height] */
2076
- type View = number[] | Float64Array;
2096
+ /** A numeric array or Float64Array used for camera geometry. */
2097
+ type CameraArray = number[] | Float64Array;
2098
+ /** A viewport rectangle `[x0, y0, x1, y1]` (corners). */
2099
+ export type ViewRect = CameraArray;
2100
+ /** An area definition `[x0, y0, width, height]` (origin + size). */
2101
+ export type View = CameraArray;
2077
2102
  /** Coordinate tuple, [x, y, scale] */
2078
- type Coords = [number, number, number?] | Float64Array;
2103
+ export type Coords = [number, number, number?] | Float64Array;
2079
2104
  /** A 360 vector for use in Spaces */
2080
- type Vector = {
2105
+ export type Vector = {
2081
2106
  direction: number;
2082
2107
  distanceX: number;
2083
2108
  distanceY: number;
2084
2109
  };
2085
- type TimingFunction = ('ease' | 'ease-in' | 'ease-out' | 'linear');
2086
- interface AnimationOptions {
2110
+ export type TimingFunction = ('ease' | 'ease-in' | 'ease-out' | 'linear');
2111
+ export interface AnimationOptions {
2087
2112
  /** Animation duration in ms */
2088
2113
  duration?: number;
2089
2114
  /** Limit the viewport to fill the screen */
@@ -2093,6 +2118,7 @@ declare module '@micrio/client' {
2093
2118
  /** Transition timing function */
2094
2119
  timingFunction?: TimingFunction;
2095
2120
  }
2121
+ export {};
2096
2122
  }
2097
2123
  namespace Embeds {
2098
2124
  interface EmbedOptions {
@@ -2372,6 +2398,41 @@ declare module '@micrio/client' {
2372
2398
  /** Disposes WebGL resources used by the PostProcessor. */
2373
2399
  dispose(): void;
2374
2400
  }
2401
+ /**
2402
+ * Manages the HTML `<canvas>` element used for WebGL rendering,
2403
+ * handles resizing, and provides viewport information.
2404
+ * Accessed via `micrio.canvas`.
2405
+ */
2406
+ export class Canvas {
2407
+ private micrio;
2408
+ /** The main WebGL rendering `<canvas>` element. */
2409
+ readonly element: HTMLCanvasElement;
2410
+ /** Object containing current viewport dimensions, position, and ratios. */
2411
+ readonly viewport: Models.Canvas.ViewRect;
2412
+ /** Writable Svelte store indicating if the client is likely a mobile device. */
2413
+ readonly isMobile: Writable<boolean>;
2414
+ /** Getter for the current value of the {@link isMobile} store. */
2415
+ get $isMobile(): boolean;
2416
+ /**
2417
+ * Creates a Canvas controller instance.
2418
+ * @param micrio The main HTMLMicrioElement instance.
2419
+ */
2420
+ constructor(micrio: HTMLMicrioElement);
2421
+ /**
2422
+ * Gets the appropriate device pixel ratio for rendering.
2423
+ * Clamped between 1 and 2, disabled on iOS and if `noRetina` setting is true.
2424
+ * @param s Optional image settings object to check for `noRetina`.
2425
+ * @returns The calculated device pixel ratio.
2426
+ */
2427
+ getRatio: (s?: Partial<Models.ImageInfo.Settings>) => number;
2428
+ /**
2429
+ * Sets virtual offset margins in the Wasm controller.
2430
+ * This likely affects how viewports are calculated or limited.
2431
+ * @param width The horizontal offset margin in pixels.
2432
+ * @param height The vertical offset margin in pixels.
2433
+ */
2434
+ setMargins(width: number, height: number): void;
2435
+ }
2375
2436
  /** Type alias for common event types handled. */
2376
2437
  export type AllEvents = WheelEvent | MouseEvent | TouchEvent;
2377
2438
  /** Internal state variables used by the Events controller. */
@@ -2405,8 +2466,6 @@ declare module '@micrio/client' {
2405
2466
  stack: string[];
2406
2467
  };
2407
2468
  };
2408
- /** Flag indicating if passive event listeners are supported (assumed true). */
2409
- export const supportsPassive = true;
2410
2469
  /** Event listener options for passive listeners. */
2411
2470
  export const eventPassive: AddEventListenerOptions;
2412
2471
  /** Event listener options for passive, capturing listeners. */
@@ -2472,6 +2531,101 @@ declare module '@micrio/client' {
2472
2531
  /** Has touch support */
2473
2532
  hasTouch: boolean;
2474
2533
  }
2534
+ /**
2535
+ * List of internal Micrio event types that should trigger a debounced 'update' event.
2536
+ * The 'update' event signals that the overall state relevant for external integrations might have changed.
2537
+ * @readonly
2538
+ */
2539
+ export const UpdateEvents: (keyof Models.MicrioEventMap)[];
2540
+ /**
2541
+ * Update event handler module.
2542
+ * Manages debounced 'update' event dispatching when internal state changes.
2543
+ */
2544
+ export class UpdateHandler {
2545
+ private ctx;
2546
+ constructor(ctx: EventContext);
2547
+ /** Hooks listeners for events that should trigger a debounced 'update' event. */
2548
+ hook(): void;
2549
+ /** Unhooks listeners for the debounced 'update' event. */
2550
+ unhook(): void;
2551
+ /**
2552
+ * Event listener callback that queues the event type and triggers the debounced dispatch.
2553
+ * @param e The Event object.
2554
+ */
2555
+ private handleEvent;
2556
+ /**
2557
+ * Dispatches the 'update' event with the accumulated event types and current state.
2558
+ * Clears the event stack.
2559
+ */
2560
+ private dispatch;
2561
+ }
2562
+ export { UpdateEvents } from "ts/events/update";
2563
+ /**
2564
+ * Handles user input events (mouse, touch, keyboard, wheel, gestures) for the Micrio viewer.
2565
+ * Translates browser events into camera movements (pan, zoom), dispatches custom Micrio events,
2566
+ * and manages interaction states like panning, pinching, and enabled/disabled states.
2567
+ * Accessed via `micrio.events`.
2568
+ * @author Marcel Duin <marcel@micr.io>
2569
+ */
2570
+ export class Events implements EventContext {
2571
+ /** Writable Svelte store indicating if event handling is currently enabled. Set to false during tours or animations. */
2572
+ enabled: Writable<boolean>;
2573
+ /** Getter for the current value of the {@link enabled} store. */
2574
+ get $enabled(): boolean;
2575
+ /** Current pinch zoom factor relative to the start of the pinch. Undefined when not pinching. */
2576
+ pinchFactor: number | undefined;
2577
+ private dragHandler;
2578
+ private pinchHandler;
2579
+ private pointerPinchHandler;
2580
+ private gestureHandler;
2581
+ private wheelHandler;
2582
+ private keyboardHandler;
2583
+ private doubleTapHandler;
2584
+ private updateHandler;
2585
+ isEnabled(): boolean;
2586
+ isPanning(): boolean;
2587
+ isPinching(): boolean;
2588
+ setPanning(value: boolean): void;
2589
+ setPinching(value: boolean): void;
2590
+ isWheeling(): boolean;
2591
+ setWheeling(value: boolean): void;
2592
+ isControlZoom(): boolean;
2593
+ isTwoFingerPan(): boolean;
2594
+ getVisible(): MicrioImage[] | undefined;
2595
+ setCapturedPointerId(id: number | undefined): void;
2596
+ setPinchFactor(value: number | undefined): void;
2597
+ setPScale(value: number): void;
2598
+ setHasUsedCtrl(value: boolean): void;
2599
+ /**
2600
+ * Checks if the user is currently interacting with the map via panning, pinching, or wheeling.
2601
+ * @returns True if the user is actively navigating.
2602
+ */
2603
+ get isNavigating(): boolean;
2604
+ /** Hooks all necessary event listeners based on current settings. */
2605
+ hook(): void;
2606
+ /** Unhooks all attached event listeners. */
2607
+ unhook(): void;
2608
+ /** Hooks keyboard event listeners. */
2609
+ hookKeys(): void;
2610
+ /** Unhooks keyboard event listeners. */
2611
+ unhookKeys(): void;
2612
+ /** Hooks zoom-related event listeners (pinch, scroll, double-tap/click). */
2613
+ hookZoom(): void;
2614
+ /** Unhooks zoom-related event listeners. */
2615
+ unhookZoom(): void;
2616
+ /** Hooks mouse wheel/scroll event listeners. */
2617
+ hookScroll(): void;
2618
+ /** Unhooks mouse wheel/scroll event listeners. */
2619
+ unhookScroll(): void;
2620
+ /** Hooks touch pinch and macOS gesture event listeners. */
2621
+ hookPinch(): void;
2622
+ /** Unhooks touch pinch and macOS gesture event listeners. */
2623
+ unhookPinch(): void;
2624
+ /** Hooks pointer down/move/up listeners for drag panning. */
2625
+ hookDrag(): void;
2626
+ /** Unhooks pointer listeners for drag panning. */
2627
+ unhookDrag(): void;
2628
+ }
2475
2629
  /**
2476
2630
  * Drag/pan event handler module.
2477
2631
  * Handles pointer down/move/up events for panning the image.
@@ -2502,6 +2656,13 @@ declare module '@micrio/client' {
2502
2656
  * @param noDispatch If true, suppresses the 'panend' event.
2503
2657
  */
2504
2658
  stop(e?: PointerEvent, noKinetic?: boolean, noDispatch?: boolean): void;
2659
+ /**
2660
+ * Handles `pointercancel` (e.g. when the browser hijacks the touch for
2661
+ * its own scrolling/zooming because the gesture started on an element
2662
+ * without `touch-action: none`). Cleans up panning state without
2663
+ * triggering kinetic motion or a regular `panend`.
2664
+ */
2665
+ private cancel;
2505
2666
  }
2506
2667
  /**
2507
2668
  * Touch pinch event handler module (iOS).
@@ -2654,34 +2815,7 @@ declare module '@micrio/client' {
2654
2815
  */
2655
2816
  private click;
2656
2817
  }
2657
- /**
2658
- * List of internal Micrio event types that should trigger a debounced 'update' event.
2659
- * The 'update' event signals that the overall state relevant for external integrations might have changed.
2660
- * @readonly
2661
- */
2662
- export const UpdateEvents: (keyof Models.MicrioEventMap)[];
2663
- /**
2664
- * Update event handler module.
2665
- * Manages debounced 'update' event dispatching when internal state changes.
2666
- */
2667
- export class UpdateHandler {
2668
- private ctx;
2669
- constructor(ctx: EventContext);
2670
- /** Hooks listeners for events that should trigger a debounced 'update' event. */
2671
- hook(): void;
2672
- /** Unhooks listeners for the debounced 'update' event. */
2673
- unhook(): void;
2674
- /**
2675
- * Event listener callback that queues the event type and triggers the debounced dispatch.
2676
- * @param e The Event object.
2677
- */
2678
- private handleEvent;
2679
- /**
2680
- * Dispatches the 'update' event with the accumulated event types and current state.
2681
- * Clears the event stack.
2682
- */
2683
- private dispatch;
2684
- }
2818
+ export { Events } from "ts/events/facade";
2685
2819
  export { DragHandler } from "ts/events/drag";
2686
2820
  export { PinchHandler } from "ts/events/pinch";
2687
2821
  export { PointerPinchHandler } from "ts/events/pointer-pinch";
@@ -2689,110 +2823,8 @@ declare module '@micrio/client' {
2689
2823
  export { WheelHandler } from "ts/events/wheel";
2690
2824
  export { KeyboardHandler } from "ts/events/keyboard";
2691
2825
  export { DoubleTapHandler } from "ts/events/doubletap";
2692
- export { UpdateHandler, UpdateEvents } from "ts/events/update";
2693
- export { type AllEvents, type EventStateVars, type EventContext, supportsPassive, eventPassive, eventPassiveCapture, noEventPassive, cancelPrevent, } from "ts/events/shared";
2694
- export { UpdateEvents } from "ts/events/index";
2695
- /**
2696
- * Handles user input events (mouse, touch, keyboard, wheel, gestures) for the Micrio viewer.
2697
- * Translates browser events into camera movements (pan, zoom), dispatches custom Micrio events,
2698
- * and manages interaction states like panning, pinching, and enabled/disabled states.
2699
- * Accessed via `micrio.events`.
2700
- * @author Marcel Duin <marcel@micr.io>
2701
- */
2702
- export class Events implements EventContext {
2703
- /** Writable Svelte store indicating if event handling is currently enabled. Set to false during tours or animations. */
2704
- enabled: Writable<boolean>;
2705
- /** Getter for the current value of the {@link enabled} store. */
2706
- get $enabled(): boolean;
2707
- /** Current pinch zoom factor relative to the start of the pinch. Undefined when not pinching. */
2708
- pinchFactor: number | undefined;
2709
- private dragHandler;
2710
- private pinchHandler;
2711
- private pointerPinchHandler;
2712
- private gestureHandler;
2713
- private wheelHandler;
2714
- private keyboardHandler;
2715
- private doubleTapHandler;
2716
- private updateHandler;
2717
- isEnabled(): boolean;
2718
- isPanning(): boolean;
2719
- isPinching(): boolean;
2720
- setPanning(value: boolean): void;
2721
- setPinching(value: boolean): void;
2722
- isWheeling(): boolean;
2723
- setWheeling(value: boolean): void;
2724
- isControlZoom(): boolean;
2725
- isTwoFingerPan(): boolean;
2726
- getVisible(): MicrioImage[] | undefined;
2727
- setCapturedPointerId(id: number | undefined): void;
2728
- setPinchFactor(value: number | undefined): void;
2729
- setPScale(value: number): void;
2730
- setHasUsedCtrl(value: boolean): void;
2731
- /**
2732
- * Checks if the user is currently interacting with the map via panning, pinching, or wheeling.
2733
- * @returns True if the user is actively navigating.
2734
- */
2735
- get isNavigating(): boolean;
2736
- /** Hooks all necessary event listeners based on current settings. */
2737
- hook(): void;
2738
- /** Unhooks all attached event listeners. */
2739
- unhook(): void;
2740
- /** Hooks keyboard event listeners. */
2741
- hookKeys(): void;
2742
- /** Unhooks keyboard event listeners. */
2743
- unhookKeys(): void;
2744
- /** Hooks zoom-related event listeners (pinch, scroll, double-tap/click). */
2745
- hookZoom(): void;
2746
- /** Unhooks zoom-related event listeners. */
2747
- unhookZoom(): void;
2748
- /** Hooks mouse wheel/scroll event listeners. */
2749
- hookScroll(): void;
2750
- /** Unhooks mouse wheel/scroll event listeners. */
2751
- unhookScroll(): void;
2752
- /** Hooks touch pinch and macOS gesture event listeners. */
2753
- hookPinch(): void;
2754
- /** Unhooks touch pinch and macOS gesture event listeners. */
2755
- unhookPinch(): void;
2756
- /** Hooks pointer down/move/up listeners for drag panning. */
2757
- hookDrag(): void;
2758
- /** Unhooks pointer listeners for drag panning. */
2759
- unhookDrag(): void;
2760
- }
2761
- /**
2762
- * Manages the HTML `<canvas>` element used for WebGL rendering,
2763
- * handles resizing, and provides viewport information.
2764
- * Accessed via `micrio.canvas`.
2765
- */
2766
- export class Canvas {
2767
- private micrio;
2768
- /** The main WebGL rendering `<canvas>` element. */
2769
- readonly element: HTMLCanvasElement;
2770
- /** Object containing current viewport dimensions, position, and ratios. */
2771
- readonly viewport: Models.Canvas.ViewRect;
2772
- /** Writable Svelte store indicating if the client is likely a mobile device. */
2773
- readonly isMobile: Writable<boolean>;
2774
- /** Getter for the current value of the {@link isMobile} store. */
2775
- get $isMobile(): boolean;
2776
- /**
2777
- * Creates a Canvas controller instance.
2778
- * @param micrio The main HTMLMicrioElement instance.
2779
- */
2780
- constructor(micrio: HTMLMicrioElement);
2781
- /**
2782
- * Gets the appropriate device pixel ratio for rendering.
2783
- * Clamped between 1 and 2, disabled on iOS and if `noRetina` setting is true.
2784
- * @param s Optional image settings object to check for `noRetina`.
2785
- * @returns The calculated device pixel ratio.
2786
- */
2787
- getRatio: (s?: Partial<Models.ImageInfo.Settings>) => number;
2788
- /**
2789
- * Sets virtual offset margins in the Wasm controller.
2790
- * This likely affects how viewports are calculated or limited.
2791
- * @param width The horizontal offset margin in pixels.
2792
- * @param height The vertical offset margin in pixels.
2793
- */
2794
- setMargins(width: number, height: number): void;
2795
- }
2826
+ export { UpdateHandler } from "ts/events/update";
2827
+ export { type AllEvents, type EventStateVars, type EventContext, eventPassive, eventPassiveCapture, noEventPassive, cancelPrevent, } from "ts/events/shared";
2796
2828
  /**
2797
2829
  * Language-related constants and utilities.
2798
2830
  */
@@ -2811,7 +2843,7 @@ declare module '@micrio/client' {
2811
2843
  * languageNames?.of('nl'); // Output might be "Dutch" (depending on browser locale)
2812
2844
  * ```
2813
2845
  */
2814
- export const languageNames: Intl.DisplayNames;
2846
+ export const languageNames: Intl.DisplayNames | undefined;
2815
2847
  /**
2816
2848
  * An array of language codes that are typically written Right-to-Left (RTL).
2817
2849
  * Used by the `HTMLMicrioElement` to set the `dir="rtl"` attribute when an RTL language is selected.
@@ -2994,6 +3026,8 @@ declare module '@micrio/client' {
2994
3026
  */
2995
3027
  constructor(micrio: HTMLMicrioElement);
2996
3028
  }
3029
+ export { i18n, langs } from "ts/i18n/strings";
3030
+ export { locale, languageNames, rtlLanguageCodes } from "ts/i18n/locale";
2997
3031
  /**
2998
3032
  * Manages the loading, playback, and WebGL integration of embedded videos
2999
3033
  * that are rendered directly onto the Micrio canvas texture (not as HTML elements).
@@ -3189,6 +3223,18 @@ declare module '@micrio/client' {
3189
3223
  export { YouTubePlayerAdapter } from "ts/media/youtube-adapter";
3190
3224
  export { VimeoPlayerAdapter } from "ts/media/vimeo-adapter";
3191
3225
  export { HLSPlayerAdapter } from "ts/media/hls-adapter";
3226
+ export { GLEmbedVideo } from "ts/media/embedvideo";
3227
+ export { VideoTourInstance } from "ts/media/videotour";
3228
+ export { Router } from "ts/nav/router";
3229
+ export { Grid } from "ts/nav/grid";
3230
+ export { GallerySwiper } from "ts/nav/swiper";
3231
+ export { Wasm } from "ts/render/wasm";
3232
+ export { WebGL } from "ts/render/webgl";
3233
+ export { Canvas } from "ts/render/canvas";
3234
+ export { PostProcessor } from "ts/render/postprocess";
3235
+ export { archive } from "ts/render/archive";
3236
+ export { loadTexture, runningThreads, numThreads, abortDownload } from "ts/render/textures";
3237
+ export type { TextureBitmap } from "ts/render/textures";
3192
3238
  }declare module "svelte/store" {
3193
3239
  /** Callback to inform of a value updates.
3194
3240
  */