import { t as ActorKitClient, u as AnyActorKitStateMachine, v as CallerSnapshotFrom } from "./types-C31KX9CW.mjs";

//#region src/createActorKitClient.d.ts
type ActorKitClientProps<TMachine extends AnyActorKitStateMachine> = {
  host: string;
  actorType: string;
  actorId: string;
  checksum: string;
  accessToken: string;
  initialSnapshot: CallerSnapshotFrom<TMachine>;
  onStateChange?: (newState: CallerSnapshotFrom<TMachine>) => void;
  onError?: (error: Error) => void;
};
declare function createActorKitClient<TMachine extends AnyActorKitStateMachine>(props: ActorKitClientProps<TMachine>): ActorKitClient<TMachine>;
//#endregion
export { createActorKitClient as n, ActorKitClientProps as t };
//# sourceMappingURL=createActorKitClient-d0mY6Uo3.d.mts.map