/// /// import type { AttachmentOptions, Label, Link, ParameterMode, ParameterOptions, Status, StatusDetails } from "../../model.js"; export interface TestRuntime { labels: (...labels: Label[]) => PromiseLike; links: (...links: Link[]) => PromiseLike; parameter: (name: string, value: string, options?: ParameterOptions) => PromiseLike; description: (markdown: string) => PromiseLike; descriptionHtml: (html: string) => PromiseLike; displayName: (name: string) => PromiseLike; historyId: (value: string) => PromiseLike; testCaseId: (value: string) => PromiseLike; attachment: (name: string, content: Buffer | Uint8Array | string, options: AttachmentOptions) => PromiseLike; globalAttachment: (name: string, content: Buffer | Uint8Array | string, options: AttachmentOptions) => PromiseLike; globalAttachmentFromPath: (name: string, path: string, options: Omit) => PromiseLike; globalError: (details: StatusDetails) => PromiseLike; attachmentFromPath: (name: string, path: string, options: Omit) => PromiseLike; logStep: (name: string, status?: Status, error?: Error) => PromiseLike; step: (name: string, body: () => T | PromiseLike) => PromiseLike; stepDisplayName: (name: string) => PromiseLike; stepParameter: (name: string, value: string, mode?: ParameterMode) => PromiseLike; }