import { Attachment, TestStepType } from '../models'; export type StepFunction = (this: QaseStep, step: QaseStep) => T | Promise; export declare class QaseStep { name: string; attachments: Attachment[]; steps: TestStepType[]; constructor(name: string); attach(attach: { name?: string; type?: string; content?: string; paths?: string[] | string; }): void; step(name: string, body: StepFunction): Promise; run(body: StepFunction, messageEmitter: (step: TestStepType) => Promise): Promise; }