import { ActionFunction, LogAction, ActorRef, MachineSnapshot, AnyActorRef, StateValue, AnyEventObject, DoneActorEvent, ErrorActorEvent } from 'xstate'; import { Context, Events, EmittedEvents, AdhocViewServiceActor } from './actor.types'; import { AdhocViewPredicate } from '@likec4/core/compute-view'; import { LayoutedElementView } from '@likec4/core'; export declare const emitViewUpdate: () => ActionFunction; export declare const layouter: { initial: string; states: { idle: { id: string; entry: LogAction; exit: LogAction; on: { layout: { target: "#layouter-call"; }; }; }; call: { id: string; entry: LogAction; exit: LogAction; invoke: { src: "service"; input: ({ context }: { context: Context; event: Events; self: ActorRef, StateValue, string, unknown, any, any>, Events, AnyEventObject>; }) => { predicates: AdhocViewPredicate[]; }; onDone: { target: "#layouter-idle"; actions: ( ActionFunction, Events, undefined, { src: "service"; logic: AdhocViewServiceActor; id: string | undefined; }, never, never, never, never> | ActionFunction, Events, undefined, never, never, never, never, EmittedEvents>)[]; }; onError: { target: "#layouter-idle"; actions: LogAction, undefined, Events>[]; }; }; }; }; };