import { StatePack } from "../history/statePack"; import { List } from "../longan/gs.collections"; import { Command } from "./command"; import { CommandStep } from "./commandStep"; export declare class StepFlow { command: Command; stepList: List; startStep: CommandStep; endStep: CommandStep; _currentStep: CommandStep; commandText: string; stepChanged: List<(stepFlow: StepFlow) => void>; constructor(command: Command); get currentStep(): CommandStep; set currentStep(value: CommandStep); start(): CommandStep; step(condition: any): CommandStep; end(): CommandStep; execute(): void; processTextInput(text: string): string; processButtons(text: string): void; next(): StatePack; moveToStart(): void; moveToEnd(): void; moveTo(index: string | number): StatePack; set(commandStep: CommandStep): void; }