import { Link, Label, Attachment } from "testit-js-commons"; export interface MetadataMessage { workItemIds?: string[]; displayName?: string; externalId?: string; title?: string; description?: string; labels?: Label[]; tags?: string[]; links?: Link[]; namespace?: string; classname?: string; addLinks?: Link[]; addAttachments?: Attachment[]; addMessage?: string; params?: Parameters; externalKey?: string; } interface AttachmentOptions { contentType: ContentType | string; fileExtension?: string; } export declare enum ContentType { TEXT = "text/plain", XML = "application/xml", HTML = "text/html", CSV = "text/csv", TSV = "text/tab-separated-values", CSS = "text/css", URI = "text/uri-list", SVG = "image/svg+xml", PNG = "image/png", JSON = "application/json", ZIP = "application/zip", WEBM = "video/webm", JPEG = "image/jpeg", MP4 = "video/mp4", MD = "text/markdown" } export declare enum Extensions { PNG = ".png", JPEG = ".jpg", ZIP = ".zip", WEBM = ".webm", MD = ".md" } type Parameters = Record; export declare class testit { private static isMetadataAttachment; private static readAttachmentBuffer; private static mergeMetadataAttachments; private static addMetadataAttachment; static addAttachment(name: string, content: Buffer | string, options: ContentType | string | Pick): Promise; private static mapParams; static workItemIds(value: string[]): Promise; static displayName(value: string): Promise; static externalId(value: string): Promise; static title(value: string): Promise; static description(value: string): Promise; static labels(value: string[]): Promise; static tags(value: string[]): Promise; static links(value: Link[]): Promise; static namespace(value: string): Promise; static classname(value: string): Promise; static addLinks(value: Link[]): Promise; static addMessage(value: string): Promise; static params(value: any): Promise; static step(name: string, body: () => Promise): Promise; } export {};