import { Actor, ActorOptions, AnyActorLogic, Observer, SnapshotFrom, type ConditionalRequired, type IsNotNever, type RequiredActorOptionsKeys } from 'xstate'; export declare function useIdleActorRef(logic: TLogic, ...[options]: ConditionalRequired<[ options?: ActorOptions & { [K in RequiredActorOptionsKeys]: unknown; } ], IsNotNever>>): Actor; export declare function useActorRef(machine: TLogic, ...[options, observerOrListener]: IsNotNever> extends true ? [ options: ActorOptions & { [K in RequiredActorOptionsKeys]: unknown; }, observerOrListener?: Observer> | ((value: SnapshotFrom) => void) ] : [ options?: ActorOptions, observerOrListener?: Observer> | ((value: SnapshotFrom) => void) ]): Actor;