export declare function step(title: string, logic: (index: number, title: string, end: boolean) => T, reset?: boolean): T;