import Step, { StepConfig } from '../common'; import InterfaceHelper, { InterfaceConfig } from '../../util/interface'; export interface FetchConfig extends StepConfig { type: 'fetch'; interface?: InterfaceConfig; nextStep?: boolean | string; } interface FetchState { } export default class FetchStep extends Step { popData: any; interfaceHelper: InterfaceHelper; stepPush: () => Promise; stepPop: (reload?: boolean, data?: any) => Promise; stepMount: (init_data?: any) => Promise; } export {};