import type { UnwrapRef } from "@vue/runtime-dom";
export declare function useMachine<State extends string, Event extends string>(states: Record<State, Partial<Record<Event, State>>>, initial: State): {
state: import("@vue/reactivity").Ref<UnwrapRef<State>>;
next: (event: Event) => void;
};