import { Actor, ActorOptions, AnyStateMachine, StateFrom, type ConditionalRequired, type IsNotNever, type RequiredActorOptionsKeys } from 'xstate'; /** @alias useActor */ export declare function useMachine(machine: TMachine, ...[options]: ConditionalRequired<[ options?: ActorOptions & { [K in RequiredActorOptionsKeys]: unknown; } ], IsNotNever>>): [StateFrom, Actor['send'], Actor];