export interface State { epic_call?: (state: State) => Promise>>; node_type: T; } export declare type Machine, T extends string> = (s0: any, s1: S) => Promise; export declare type Transition, T extends string> = [S, S, (state: S) => S]; export declare type Graph = Array, T>>;