import { b as ClientEventFrom, k as MatchesProps, t as ActorKitClient, u as AnyActorKitStateMachine, v as CallerSnapshotFrom } from "./types-C31KX9CW.mjs"; import { t as ActorKitClientProps } from "./createActorKitClient-d0mY6Uo3.mjs"; import React, { ReactNode } from "react"; import { StateValueFrom } from "xstate"; //#region src/createActorKitContext.d.ts declare function createActorKitContext(actorType: string): { Provider: React.FC<{ children: ReactNode; } & Omit, "actorType">>; ProviderFromClient: React.FC<{ children: ReactNode; client: ActorKitClient; }>; useClient: () => ActorKitClient; useSelector: (selector: (snapshot: CallerSnapshotFrom) => T) => T; useSend: () => (event: ClientEventFrom) => void; useMatches: (stateValue: StateValueFrom) => boolean; Matches: React.FC & { children: ReactNode; }> & { create: (state: StateValueFrom, options?: { and?: StateValueFrom; or?: StateValueFrom; not?: boolean; }) => React.FC, "state" | "and" | "or" | "not"> & { children: ReactNode; }>; }; }; //#endregion export { createActorKitContext as t }; //# sourceMappingURL=createActorKitContext-Dfz-tllh.d.mts.map