import type { AxiosInstance } from 'axios'; /** * Mainly used by node based runners for all kind * of check types and artifacts. */ type CheckResultAssetsV1 = { region: string; checkRunDataPath: string; mtrPath?: string; logPath?: string; tcpDumpPath?: string; snapshots?: string; imagePaths?: string[]; navigationTracePath?: string; playwrightTestTraceFiles?: string[]; playwrightTestVideoFiles?: string[]; playwrightTestJsonReportPath?: string; }; export declare function isCheckResultAssetsV1(assets: unknown): assets is CheckResultAssetsV1; /** * Range based offsets for assets stored in V2 zip files. */ export type CheckResultAssetsV2Entries = { start: number; end: number; name: string; }; /** * Used by runner-ng for storing all assets in a single zip file. */ export type CheckResultAssetsV2 = { version: 2; region: string; key: string; url: string; entries: CheckResultAssetsV2Entries[]; }; export declare function isCheckResultAssetsV2(assets: unknown): assets is CheckResultAssetsV2; /** * Used mainly by Go-runner for storing all assets in ClickHouse. */ export type CheckResultAssetsV3 = { version: 3; clickHouseId: string; region: string; tcpDumpPath?: string; logPath?: string; }; export declare function isCheckResultAssetsV3(assets: unknown): assets is CheckResultAssetsV3; export type CheckResultAssets = CheckResultAssetsV1 | CheckResultAssetsV2 | CheckResultAssetsV3; export default class Assets { api: AxiosInstance; constructor(api: AxiosInstance); getLogs(asset: CheckResultAssets): Promise>; getCheckRunData(asset: CheckResultAssets): Promise; private getAssets; private getAssetsV2; getAssetsLink(region: string, key: string): Promise; } export {};