import { type DieFn, type NextFn, type RunFn } from '../pipe/Pipe'; import { type GuardFn } from './Guard'; import { TestLogs } from './TestLogs'; export interface Step { runStep: (value: T, next: NextFn, die: DieFn, logs: TestLogs) => void; } export declare const Step: { stateful: (f: (v: T, next: (v: U) => void, die: (err: any) => void) => void) => Step; control: (step: Step, guard: GuardFn) => Step; sync: (f: () => void) => Step; async: (f: (next: () => void, die: (err: any) => void) => void) => Step; debugging: Step; log: (message: string) => Step; label: (label: string, chain: Step) => Step; wait: (amount: number) => Step; fail: (message: string) => Step; pass: Step; raw: (f: RunFn) => Step; predicate: (p: (value: T) => boolean) => Step; toPromise: (step: Step) => (a: A) => Promise; fromPromise: (p: () => Promise) => Step; }; //# sourceMappingURL=Step.d.ts.map