import { __name } from "../_virtual/_rolldown/runtime.mjs"; import { Fqn, ViewId } from "@likec4/core/types"; import { ActorRef, SnapshotFrom, StateMachine } from "xstate"; //#region src/search/searchActor.d.ts export type SearchActorEvent = { type: 'open'; search?: string | undefined; } | { type: 'close'; } | { type: 'change.search'; search: string; } | { type: 'pickview.open'; elementFqn: Fqn; } | { type: 'navigate.to'; viewId: ViewId; focusOnElement?: Fqn | undefined; } | { type: 'animation.presence.end'; } | { type: 'pickview.close'; }; export interface SearchContext { openedWithSearch: string | null; searchValue: string; pickViewFor: Fqn | null; navigateTo: { viewId: ViewId; focusOnElement?: Fqn | undefined; } | null; } export interface SearchActorLogic extends StateMachine {} export type SearchActorSnapshot = SnapshotFrom; export interface SearchActorRef extends ActorRef {} //#endregion