export declare const ReporterContentType = "application/qase.metadata+json"; /** Project code -> test case IDs for multi-project (testops_multi) mode. */ export type ProjectMapping = Record; export interface MetadataMessage { ids?: number[]; /** Multi-project mapping: project code -> list of test case IDs. */ projectMapping?: ProjectMapping; title?: string; fields?: Record; parameters?: Record; groupParams?: Record; ignore?: boolean; suite?: string; comment?: string; tags?: string[]; } /** * Set IDs for the test case * * @param caseId * @param name * @example * test(qase(1, 'test'), async ({ page }) => { * await page.goto('https://example.com'); * }); * @returns {string} */ export declare const qase: { (caseId: number | string | number[] | string[], name: string): string; id(value: number | number[]): /*elided*/ any; projects(mapping: ProjectMapping): /*elided*/ any; projectsTitle(name: string, mapping: ProjectMapping): string; title(value: string): /*elided*/ any; fields(values: Record): /*elided*/ any; parameters(values: Record): /*elided*/ any; groupParameters(values: Record): /*elided*/ any; attach(attach: { name?: string; paths?: string | string[]; content?: Buffer | string; contentType?: string; }): /*elided*/ any; ignore(): /*elided*/ any; suite(value: string): /*elided*/ any; comment(value: string): /*elided*/ any; tags(...values: string[]): /*elided*/ any; step(action: string, expectedResult?: string, data?: string): string; };