import { ActorRefFrom } from 'xstate'; import MultiscaleSpatialImage from '@itk-viewer/io/MultiscaleSpatialImage.js'; import { CreateChild } from './children.js'; import { ViewportActor } from './viewport.js'; type SetImageEvent = { type: 'setImage'; image: MultiscaleSpatialImage; name?: string; }; type SendImageToViewports = { type: 'sendImageToViewports'; image: MultiscaleSpatialImage; }; type Context = { viewports: ViewportActor[]; images: Record; }; export declare const viewerMachine: import("xstate").StateMachine]; }; readonly setImage: { readonly actions: readonly [import("xstate").ActionFunction, import("xstate").ActionFunction]; }; readonly sendImageToViewports: { readonly actions: readonly [({ context, event: { image } }: import("xstate").ActionArgs) => void]; }; }; }; }; }>; export declare const createViewer: () => import("xstate").Actor]; }; readonly setImage: { readonly actions: readonly [import("xstate").ActionFunction, import("xstate").ActionFunction]; }; readonly sendImageToViewports: { readonly actions: readonly [({ context, event: { image } }: import("xstate").ActionArgs) => void]; }; }; }; }; }>>; export type Viewer = ActorRefFrom; export {}; //# sourceMappingURL=viewer.d.ts.map