export default TestomatioPipe; export type Pipe = import("../../types/types.js").Pipe; export type TestData = import("../../types/types.js").TestData; /** * @typedef {import('../../types/types.js').Pipe} Pipe * @typedef {import('../../types/types.js').TestData} TestData * @class TestomatioPipe * @implements {Pipe} */ declare class TestomatioPipe implements Pipe { constructor(params: any, store: any); batch: { isEnabled: any; intervalFunction: any; intervalTime: number; tests: any[]; batchIndex: number; numberOfTimesCalledWithoutTests: number; }; retriesTimestamps: any[]; reportingCanceledDueToReqFailures: boolean; notReportedTestsCount: number; isEnabled: boolean; url: any; apiKey: any; store: any; title: any; sharedRun: boolean; sharedRunTimeout: number; groupTitle: any; env: string; label: string; description: any; client: Gaxios; proceed: boolean; jiraId: string; runId: any; createNewTests: any; hasUnmatchedTests: boolean; requestFailures: number; /** * Asynchronously prepares and retrieves the Testomat.io test grepList based on the provided options. * @param {Object} opts - The options for preparing the test grepList. * @returns {Promise} - An array containing the retrieved * test grepList, or an empty array if no tests are found or the request is disabled. * @throws {Error} - Throws an error if there was a problem while making the request. */ prepareRun(opts: any): Promise; /** * Creates a new run on Testomat.io * @param {{isBatchEnabled?: boolean, kind?: string, configuration?: Record}} params * @returns Promise */ createRun(params?: { isBatchEnabled?: boolean; kind?: string; configuration?: Record; }): Promise; runUrl: string; runPublicUrl: any; /** * Adds a test to the batch uploader (or reports a single test if batch uploading is disabled) */ addTest(data: any): Promise>; /** * Syncs / flushes buffered tests by uploading them as a batch * This is used to manually trigger batch upload (e.g., after all tests are added) */ sync(): Promise; /** * @param {import('../../types/types.js').RunData} params * @returns */ finishRun(params: import("../../types/types.js").RunData): Promise; toString(): string; #private; } import { Gaxios } from 'gaxios';