import { AxiosResponse } from "axios"; import { IClient } from "../../src/blockchainClient/interface"; import { RawGtv } from "../../src/gtv/types"; import { KeyPair } from "../../src/blockchainClient/types"; export declare const CONTRACT_SERVER: { URL: string; CONSTANTS: { START: string; END: string; }; ENDPOINTS: { GET: { CONTRACTBRID: string; SUITES: string; }; POST: { TESTS: string; SUITES: string; }; }; }; export type ContractInfoResponse = { brid: string; merkleHashVersion: string; cryptoSystem: string; }; export type TestSuitesResponse = { suites: Array; }; export type TestDataParams = { name: string; type: string; value: string; }; type TestCall = { name: string; type: string; purpose: string; params: TestDataParams[]; }; type TestData = { transaction: KeyPair; call: TestCall; }; type ComparisonResult = { expected: string; actual: string; result: boolean; }; type ComparisonBodyResult = { expectedBase64: string; actualBase64: string; result: boolean; }; type ComparisonHeaders = { header: string; expected: string; actual: string; result: boolean; }; type WiremockRequestReport = { method: ComparisonResult; url: ComparisonResult; headers: Array; body: ComparisonBodyResult; }; type TestEndResult = { status: string; message: string; testCallReport: { wiremockRequestReports: WiremockRequestReport[]; }; }; type LanguageSpecifics = { differentErrorMessages: boolean; differentEncoding?: boolean; message?: string; httpMethod: string; url: string; }; export declare function getContractInfo(): Promise; export declare function getTestSuites(): Promise; export declare function startTestSuiteAndGetAllTestCases(suiteName: string, sessionId: string, brid: string): Promise<{ tests: Array; }>; export declare function startTestAndGetData(sessionId: string, testName: string): Promise; export declare function removeTestSuiteFromSession(sessionId: string): Promise; export declare function endSessionAndSendTestResults(sessionId: string, testName: string, result: string, statusCode?: number | null, languageSpecifics?: LanguageSpecifics | null, overrideStatus?: string): Promise; export declare function convertToGtvParams(argumentType: string, argumentValue: string): RawGtv; export declare function getProxyClient(contractDappInfo: ContractInfoResponse): Promise; export declare function runAllTestsAndReportResults(proxyClient: IClient, contractBrid: string, testSuites: Array): Promise; export {};