import * as React from 'react'; import { ActorRefFrom, AnyStateMachine, AreAllImplementationsAssumedToBeProvided, EmittedFrom, InternalMachineOptions, InterpreterOptions, Observer, StateFrom } from 'xstate'; import { UseMachineOptions } from './useMachine'; export declare function createActorContext(machine: TMachine, interpreterOptions?: InterpreterOptions, observerOrListener?: Observer> | ((value: StateFrom) => void)): { useActor: () => [StateFrom, ActorRefFrom['send']]; useSelector: (selector: (snapshot: EmittedFrom) => T, compare?: (a: T, b: T) => boolean) => T; useActorRef: () => ActorRefFrom; Provider: (props: { children: React.ReactNode; machine?: TMachine | (() => TMachine); } & (AreAllImplementationsAssumedToBeProvided extends false ? { options: UseMachineOptions & InternalMachineOptions; } : { options?: UseMachineOptions & InternalMachineOptions; })) => React.ReactElement; }; //# sourceMappingURL=createActorContext.d.ts.map