import type { LogEventType } from '../constants/internal'; import type { LogPayload } from './log'; import type { MaybePromise } from './promise'; import type { Void } from './undefined'; /** * Body function of step. */ export type StepBody = () => MaybePromise; /** * Options of `step` function. */ export type StepOptions = Readonly<{ payload?: LogPayload; runPlaywrightStep?: boolean; skipLogs?: boolean; timeout?: number; type?: LogEventType; }>;