UNPKG

1.16 kBTypeScriptView Raw
1import { ExecutableItem, Label, Status } from "./model.js";
2export declare const md5: (data: string) => string;
3export declare const getLabelsFromEnv: () => Label[];
4export declare const escapeRegExp: (value: string) => string;
5export declare const isAnyStepFailed: (item: ExecutableItem) => boolean;
6export declare const isAllStepsEnded: (item: ExecutableItem) => boolean;
7export declare const readImageAsBase64: (filePath: string) => Promise<string | undefined>;
8export declare const stripAscii: (str: string) => string;
9export declare const allureReportFolder: (outputFolder?: string) => string;
10export declare const defaultReportFolder: () => string;
11export declare const allureIdRegexp: RegExp;
12export declare const allureIdRegexpGlobal: RegExp;
13export declare const allureLabelRegexp: RegExp;
14export declare const allureLabelRegexpGlobal: RegExp;
15export declare const getStatusFromError: (error: Error) => Status;
16export declare const getSuitesLabels: (suites: string[]) => Label[];
17export declare const serialize: (val: unknown) => string;
18export declare const extractMetadataFromString: (title: string) => {
19 labels: Label[];
20 cleanTitle: string;
21};