import { State } from './types'; export declare const createMachine: (graph: [State, State, (state: State) => State][]) => >(prev: S, next: S) => Promise;