@microblink/camera-manager 7.0.0-next.2

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 (62) hide show
  1. package/dist/camera-manager.js +8243 -0
  2. package/package.json +70 -0
  3. package/types/core/Camera.d.ts +33 -0
  4. package/types/core/Camera.d.ts.map +1 -0
  5. package/types/core/Camera.test.d.ts +2 -0
  6. package/types/core/Camera.test.d.ts.map +1 -0
  7. package/types/core/CameraManager.d.ts +115 -0
  8. package/types/core/CameraManager.d.ts.map +1 -0
  9. package/types/core/cameraManagerStore.d.ts +68 -0
  10. package/types/core/cameraManagerStore.d.ts.map +1 -0
  11. package/types/core/cameraNames.d.ts +23 -0
  12. package/types/core/cameraNames.d.ts.map +1 -0
  13. package/types/core/cameraUtils.d.ts +28 -0
  14. package/types/core/cameraUtils.d.ts.map +1 -0
  15. package/types/core/createCustomImageData.d.ts +11 -0
  16. package/types/core/createCustomImageData.d.ts.map +1 -0
  17. package/types/core/imageDataUtils.d.ts +3 -0
  18. package/types/core/imageDataUtils.d.ts.map +1 -0
  19. package/types/core/iosCameraNames.d.ts +2 -0
  20. package/types/core/iosCameraNames.d.ts.map +1 -0
  21. package/types/core/utils.d.ts +4 -0
  22. package/types/core/utils.d.ts.map +1 -0
  23. package/types/core/videoToImageData.d.ts +2 -0
  24. package/types/core/videoToImageData.d.ts.map +1 -0
  25. package/types/index.d.ts +9 -0
  26. package/types/index.d.ts.map +1 -0
  27. package/types/index.rollup.d.ts +279 -0
  28. package/types/media-mock/MediaMocker.d.ts +809 -0
  29. package/types/media-mock/MediaMocker.d.ts.map +1 -0
  30. package/types/media-mock/createInputDeviceInfo.d.ts +14 -0
  31. package/types/media-mock/createInputDeviceInfo.d.ts.map +1 -0
  32. package/types/media-mock/defineProperty.d.ts +7 -0
  33. package/types/media-mock/defineProperty.d.ts.map +1 -0
  34. package/types/media-mock/fake-devices.d.ts +802 -0
  35. package/types/media-mock/fake-devices.d.ts.map +1 -0
  36. package/types/media-mock/utils.d.ts +2 -0
  37. package/types/media-mock/utils.d.ts.map +1 -0
  38. package/types/tests/camera-picking.test.d.ts +2 -0
  39. package/types/tests/camera-picking.test.d.ts.map +1 -0
  40. package/types/tsdoc-metadata.json +11 -0
  41. package/types/ui/CameraSelector.d.ts +3 -0
  42. package/types/ui/CameraSelector.d.ts.map +1 -0
  43. package/types/ui/CameraUiStoreContext.d.ts +31 -0
  44. package/types/ui/CameraUiStoreContext.d.ts.map +1 -0
  45. package/types/ui/CaptureScreen.d.ts +4 -0
  46. package/types/ui/CaptureScreen.d.ts.map +1 -0
  47. package/types/ui/ErrorAlert.d.ts +5 -0
  48. package/types/ui/ErrorAlert.d.ts.map +1 -0
  49. package/types/ui/Header.d.ts +3 -0
  50. package/types/ui/Header.d.ts.map +1 -0
  51. package/types/ui/LocalizationContext.d.ts +16 -0
  52. package/types/ui/LocalizationContext.d.ts.map +1 -0
  53. package/types/ui/RootComponent.d.ts +4 -0
  54. package/types/ui/RootComponent.d.ts.map +1 -0
  55. package/types/ui/SolidShadowRoot.d.ts +18 -0
  56. package/types/ui/SolidShadowRoot.d.ts.map +1 -0
  57. package/types/ui/createCameraManagerUi.d.ts +27 -0
  58. package/types/ui/createCameraManagerUi.d.ts.map +1 -0
  59. package/types/ui/locales/en.d.ts +10 -0
  60. package/types/ui/locales/en.d.ts.map +1 -0
  61. package/types/ui/zustandRefStore.d.ts +26 -0
  62. package/types/ui/zustandRefStore.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fake-devices.d.ts","sourceRoot":"","sources":["../../src/media-mock/fake-devices.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE,iBAAiB,GAAG,QAAQ,CAAC,CAAC;IACrE,kBAAkB,EAAE,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACnE,kBAAkB,EAAE,UAAU,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACpE,kBAAkB,EAAE,UAAU,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;CACjE,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyrBuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const getFPSFromConstraints: (constraints: MediaStreamConstraints) => number;
2
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/media-mock/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,gBACnB,sBAAsB,KAClC,MAOF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=camera-picking.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camera-picking.test.d.ts","sourceRoot":"","sources":["../../src/tests/camera-picking.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.50.0"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,3 @@
1
+ import { Component } from "solid-js";
2
+ export declare const CameraSelector: Component;
3
+ //# sourceMappingURL=CameraSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CameraSelector.d.ts","sourceRoot":"","sources":["../../src/ui/CameraSelector.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAA6B,MAAM,UAAU,CAAC;AAahE,eAAO,MAAM,cAAc,EAAE,SA4J5B,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { ParentComponent } from "solid-js";
2
+ import { MountableElement } from "solid-js/web";
3
+ import { CameraManager } from "../core/CameraManager";
4
+ declare const cameraManagerSolidStore: {
5
+ (): import("solid-js").Accessor<import("..").CameraManagerStore>;
6
+ <U>(selector: (state: import("..").CameraManagerStore) => U, equals?: ((a: U, b: U) => boolean) | undefined): U extends (U extends (...args: any[]) => any ? U : never) ? U : import("solid-js").Accessor<U>;
7
+ } & Omit<import("zustand/vanilla").StoreApi<import("..").CameraManagerStore>, "subscribe"> & {
8
+ subscribe: {
9
+ (listener: (selectedState: import("..").CameraManagerStore, previousSelectedState: import("..").CameraManagerStore) => void): () => void;
10
+ <U>(selector: (state: import("..").CameraManagerStore) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
11
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
12
+ fireImmediately?: boolean;
13
+ } | undefined): () => void;
14
+ };
15
+ };
16
+ export type CameraUiStore = {
17
+ /** Function which will dismount the component */
18
+ dismount: () => void;
19
+ cameraManager: CameraManager;
20
+ /** This is the camera manager zustand store converted to SolidJS' signal store via `solid-zustand` */
21
+ cameraManagerSolidStore: typeof cameraManagerSolidStore;
22
+ mountTarget: MountableElement;
23
+ };
24
+ export declare const CameraUiStoreProvider: ParentComponent<{
25
+ dismount: () => void;
26
+ cameraManager: CameraManager;
27
+ mountTarget: MountableElement;
28
+ }>;
29
+ export declare function useCameraUiStore(): CameraUiStore;
30
+ export {};
31
+ //# sourceMappingURL=CameraUiStoreContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CameraUiStoreContext.d.ts","sourceRoot":"","sources":["../../src/ui/CameraUiStoreContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAEhB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAItD,QAAA,MAAM,uBAAuB;;;;;;;;;;;CAAuC,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B,iDAAiD;IACjD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,sGAAsG;IACtG,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;IACxD,WAAW,EAAE,gBAAgB,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,eAAe,CAAC;IAClD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,gBAAgB,CAAC;CAC/B,CAsBA,CAAC;AAEF,wBAAgB,gBAAgB,kBAO/B"}
@@ -0,0 +1,4 @@
1
+ import { Component } from "solid-js";
2
+ export declare const CaptureScreen: Component;
3
+ export declare const CaptureScreenPortalled: Component;
4
+ //# sourceMappingURL=CaptureScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CaptureScreen.d.ts","sourceRoot":"","sources":["../../src/ui/CaptureScreen.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAA8B,MAAM,UAAU,CAAC;AAmBjE,eAAO,MAAM,aAAa,EAAE,SAgG3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,SAoCpC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Component } from "solid-js";
2
+ export declare const ErrorAlert: Component<{
3
+ error: Error;
4
+ }>;
5
+ //# sourceMappingURL=ErrorAlert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorAlert.d.ts","sourceRoot":"","sources":["../../src/ui/ErrorAlert.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAQ,MAAM,UAAU,CAAC;AAG3C,eAAO,MAAM,UAAU,EAAE,SAAS,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;CACd,CA4BA,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Component } from "solid-js";
2
+ export declare const Header: Component;
3
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/ui/Header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAyB,MAAM,UAAU,CAAC;AAc5D,eAAO,MAAM,MAAM,EAAE,SAoGpB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { ParentComponent } from "solid-js";
2
+ import { SetStoreFunction } from "solid-js/store";
3
+ import enLocaleStrings from "./locales/en";
4
+ export type CameraUiLocaleRecord = typeof enLocaleStrings;
5
+ export type CameraUiLocalizationStrings = {
6
+ [K in keyof CameraUiLocaleRecord]: CameraUiLocaleRecord[K] | (string & {});
7
+ };
8
+ export declare const LocalizationProvider: ParentComponent<{
9
+ userStrings?: Partial<CameraUiLocalizationStrings>;
10
+ setLocalizationRef: (fn: SetStoreFunction<CameraUiLocalizationStrings>) => void;
11
+ }>;
12
+ export declare function useLocalization(): {
13
+ t: CameraUiLocalizationStrings;
14
+ updateLocalization: SetStoreFunction<CameraUiLocalizationStrings>;
15
+ };
16
+ //# sourceMappingURL=LocalizationContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocalizationContext.d.ts","sourceRoot":"","sources":["../../src/ui/LocalizationContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsC,MAAM,UAAU,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAe,MAAM,gBAAgB,CAAC;AAE/D,OAAO,eAAe,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,oBAAoB,GAAG,OAAO,eAAe,CAAC;AAE1D,MAAM,MAAM,2BAA2B,GAAG;KAIvC,CAAC,IAAI,MAAM,oBAAoB,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC;CAC3E,CAAC;AAOF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAEnD,kBAAkB,EAAE,CAClB,EAAE,EAAE,gBAAgB,CAAC,2BAA2B,CAAC,KAC9C,IAAI,CAAC;CACX,CA0BA,CAAC;AAEF,wBAAgB,eAAe;OAtC1B,2BAA2B;wBACV,gBAAgB,CAAC,2BAA2B,CAAC;EA2ClE"}
@@ -0,0 +1,4 @@
1
+ import { Component } from "solid-js";
2
+ declare const RootComponent: Component;
3
+ export { RootComponent };
4
+ //# sourceMappingURL=RootComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RootComponent.d.ts","sourceRoot":"","sources":["../../src/ui/RootComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAQ,MAAM,UAAU,CAAC;AAQ3C,QAAA,MAAM,aAAa,EAAE,SAmBpB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { JSX, ParentComponent } from "solid-js";
2
+ export declare const SolidShadowRoot: ParentComponent<{
3
+ /** Disables shadow root, mostly useful for debugging */
4
+ disableShadowRoot?: boolean;
5
+ class?: string | undefined;
6
+ style?: JSX.CSSProperties | string;
7
+ getRef?: (el: HTMLDivElement) => void;
8
+ }>;
9
+ /**
10
+ * A declarative shadow root component
11
+ *
12
+ * Hooks into SolidJS' Portal's `useShadow` prop
13
+ * to handle shadow DOM and the component lifecycle
14
+ *
15
+ * @deprecated
16
+ */
17
+ export declare const SolidShadowRootWithPortal: ParentComponent;
18
+ //# sourceMappingURL=SolidShadowRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SolidShadowRoot.d.ts","sourceRoot":"","sources":["../../src/ui/SolidShadowRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAE,eAAe,EAAsB,MAAM,UAAU,CAAC;AAG9E,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC;IAC5C,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,GAAG,CAAC,aAAa,GAAG,MAAM,CAAC;IACnC,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,CAAC;CACvC,CAwBA,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,EAAE,eASvC,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { SetStoreFunction } from "solid-js/store";
2
+ import { CameraManager } from "../core/CameraManager";
3
+ import { CameraUiLocalizationStrings } from "./LocalizationContext";
4
+ export declare const MOUNT_POINT_ID = "camera-manager-mount-point";
5
+ import "uno.css";
6
+ export type CameraManagerComponent = {
7
+ cameraManager: CameraManager;
8
+ /** Updates the localization strings */
9
+ updateLocalization: SetStoreFunction<CameraUiLocalizationStrings>;
10
+ /** Dismounts the component from the DOM and unloads the SDK */
11
+ dismount: () => void;
12
+ /** Sets a callback to be called when the component is unmounted */
13
+ setOnDismountCallback: (fn: () => void) => void;
14
+ /**
15
+ * The feedback layer node that can be used to append custom feedback elements
16
+ */
17
+ feedbackLayerNode: HTMLDivElement;
18
+ /**
19
+ * The overlay layer node that can be used to append custom overlay elements
20
+ */
21
+ overlayLayerNode: HTMLDivElement;
22
+ };
23
+ /**
24
+ * Creates a new Camera Manager UI component.
25
+ */
26
+ export declare function createCameraManagerUi(cameraManager: CameraManager, target?: HTMLElement): Promise<CameraManagerComponent>;
27
+ //# sourceMappingURL=createCameraManagerUi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCameraManagerUi.d.ts","sourceRoot":"","sources":["../../src/ui/createCameraManagerUi.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAEL,2BAA2B,EAC5B,MAAM,uBAAuB,CAAC;AAI/B,eAAO,MAAM,cAAc,+BAA+B,CAAC;AAG3D,OAAO,SAAS,CAAC;AAEjB,MAAM,MAAM,sBAAsB,GAAG;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,uCAAuC;IACvC,kBAAkB,EAAE,gBAAgB,CAAC,2BAA2B,CAAC,CAAC;IAElE,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mEAAmE;IACnE,qBAAqB,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAChD;;OAEG;IACH,iBAAiB,EAAE,cAAc,CAAC;IAClC;;OAEG;IACH,gBAAgB,EAAE,cAAc,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,aAAa,EAC5B,MAAM,CAAC,EAAE,WAAW,mCAqGrB"}
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ readonly selected_camera: "Selected camera";
3
+ readonly select_camera: "Select camera";
4
+ readonly close: "Close";
5
+ readonly torch: "Torch";
6
+ readonly mirror_camera: "Mirror camera";
7
+ readonly modal_title: "Scan a document";
8
+ };
9
+ export default _default;
10
+ //# sourceMappingURL=en.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/ui/locales/en.ts"],"names":[],"mappings":";;;;;;;;AAAA,wBAOW"}
@@ -0,0 +1,26 @@
1
+ export type CameraUiRefs = {
2
+ feedbackLayer: HTMLDivElement;
3
+ overlayLayer: HTMLDivElement;
4
+ };
5
+ export declare const cameraUiRefStore: Omit<import("zustand/vanilla").StoreApi<CameraUiRefs>, "subscribe"> & {
6
+ subscribe: {
7
+ (listener: (selectedState: CameraUiRefs, previousSelectedState: CameraUiRefs) => void): () => void;
8
+ <U>(selector: (state: CameraUiRefs) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
9
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
10
+ fireImmediately?: boolean;
11
+ } | undefined): () => void;
12
+ };
13
+ };
14
+ export declare const cameraUiRefSignalStore: {
15
+ (): import("solid-js").Accessor<CameraUiRefs>;
16
+ <U>(selector: (state: CameraUiRefs) => U, equals?: ((a: U, b: U) => boolean) | undefined): U extends (U extends (...args: any[]) => any ? U : never) ? U : import("solid-js").Accessor<U>;
17
+ } & Omit<import("zustand/vanilla").StoreApi<CameraUiRefs>, "subscribe"> & {
18
+ subscribe: {
19
+ (listener: (selectedState: CameraUiRefs, previousSelectedState: CameraUiRefs) => void): () => void;
20
+ <U>(selector: (state: CameraUiRefs) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
21
+ equalityFn?: ((a: U, b: U) => boolean) | undefined;
22
+ fireImmediately?: boolean;
23
+ } | undefined): () => void;
24
+ };
25
+ };
26
+ //# sourceMappingURL=zustandRefStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zustandRefStore.d.ts","sourceRoot":"","sources":["../../src/ui/zustandRefStore.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,EAAE,cAAc,CAAC;IAC9B,YAAY,EAAE,cAAc,CAAC;CAC9B,CAAC;AASF,eAAO,MAAM,gBAAgB;;;;;;;;CAG5B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;CAAqC,CAAC"}