import { ActorRefFrom, AnyActorRef } from 'xstate'; import { BuiltImage, MultiscaleSpatialImage } from '@itk-viewer/io/MultiscaleSpatialImage.js'; import { Ranges } from '@itk-viewer/io/types.js'; type Point = readonly [number, number]; type Context = { image: MultiscaleSpatialImage; dataRanges: Ranges; colorRanges: Ranges; normalizedColorRanges: Ranges; colorMaps: string[]; opacityPoints: Point[][]; normalizedOpacityPoints: Point[][]; }; export declare const image: import("xstate").StateMachine, never, never, "active", string, MultiscaleSpatialImage, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, { readonly id: "image"; readonly initial: "active"; readonly context: ({ input: image }: { spawn: { (logic: TSrc, ...[options]: never): never; (src: TLogic, options?: { id?: never; systemId?: string; input?: import("xstate").InputFrom | undefined; syncSnapshot?: boolean; } | undefined): ActorRefFrom; }; input: MultiscaleSpatialImage; self: import("xstate").ActorRef, import("xstate").StateValue, string, unknown, any, any>, { type: "getWorker"; receiver: AnyActorRef; } | { type: "builtImage"; builtImage: BuiltImage; } | { type: "colorRange"; range: readonly [number, number]; component: number; } | { type: "normalizedColorRange"; range: readonly [number, number]; component: number; } | { type: "opacityPoints"; points: Point[]; component: number; } | { type: "normalizedOpacityPoints"; points: Point[]; component: number; } | { type: "colorMap"; colorMap: string; component: number; }, import("xstate").AnyEventObject>; }) => { image: MultiscaleSpatialImage; dataRanges: never[]; colorRanges: never[]; normalizedColorRanges: never[]; colorMaps: never[]; opacityPoints: never[]; normalizedOpacityPoints: never[]; }; readonly states: { readonly active: { readonly on: { readonly builtImage: { readonly actions: readonly [import("xstate").ActionFunction, import("xstate").ActionFunction, "updateNormalizedColorRanges", "updateNormalizedOpacityPoints", "ensureComponentDefaults"]; }; readonly colorRange: { readonly actions: readonly [import("xstate").ActionFunction, "updateNormalizedColorRanges"]; }; readonly normalizedColorRange: { readonly actions: readonly [import("xstate").ActionFunction, "updateColorRanges"]; }; readonly opacityPoints: { readonly actions: readonly [import("xstate").ActionFunction, "updateNormalizedOpacityPoints"]; }; readonly normalizedOpacityPoints: { readonly actions: readonly [import("xstate").ActionFunction, "updateOpacityPoints"]; }; readonly colorMap: { readonly actions: readonly [import("xstate").ActionFunction]; }; }; }; }; }>; export type Image = ActorRefFrom; export type ImageSnapshot = ReturnType; export {}; //# sourceMappingURL=image.d.ts.map