import { StateValueFrom } from "xstate";
import { AnyActorKitStateMachine, CallerSnapshotFrom, ClientEventFrom } from "./types";
export declare function createActorFetch<TMachine extends AnyActorKitStateMachine>({ actorType, host, }: {
    actorType: string;
    host: string;
}): (props: {
    actorId: string;
    accessToken: string;
    input?: Record<string, unknown>;
    waitForEvent?: ClientEventFrom<TMachine>;
    waitForState?: StateValueFrom<TMachine>;
    timeout?: number;
    errorOnWaitTimeout?: boolean;
}, options?: RequestInit) => Promise<{
    snapshot: CallerSnapshotFrom<TMachine>;
    checksum: string;
}>;
//# sourceMappingURL=createActorFetch.d.ts.map