import { MachineSrc } from "./machine"; import { Dict } from "./types"; export declare function useMachine(getMachine: MachineSrc): readonly [{ [x: string]: any; current: string; prev: string; event: string | string[]; context: import("valtio").NonPromise; done: boolean; matches: (value: string | string[]) => boolean; hasTag: (value: string) => boolean; nextEvents: string[]; changed: boolean; tags: { add: (value: string) => Set; clear: () => void; delete: (value: string) => boolean; forEach: (callbackfn: (value: string, value2: string, set: Set) => void, thisArg?: any) => void; has: (value: string) => boolean; readonly size: number; entries: () => IterableIterator<[string, string]>; keys: () => IterableIterator; values: () => IterableIterator; }; }, (evt: string | import("./types").StateMachine.AnyEventObject) => void, import("./machine").Machine]; //# sourceMappingURL=use-machine.d.ts.map