import * as React from 'react'; import { Actor, ActorOptions, AnyActorLogic, SnapshotFrom } from 'xstate'; export declare function createActorContext(actorLogic: TLogic, actorOptions?: ActorOptions): { useSelector: (selector: (snapshot: SnapshotFrom) => T, compare?: (a: T, b: T) => boolean) => T; useActorRef: () => Actor; Provider: (props: { children: React.ReactNode; options?: ActorOptions; /** @deprecated Use `logic` instead. */ machine?: never; logic?: TLogic; }) => React.ReactElement; };