import { MerchantAPIClient } from '../utils'; import { RPCRequest, RPCResponse } from "../interfaces/RPC"; export interface ITestCase { title: string; settings: { method: string; params: object; authentication?: string; }; result?: ITestCaseResult; } export interface ITestCaseResult { state: string; request: RPCRequest; response: RPCResponse | undefined; error?: { message: string; code?: string; data?: object; }; } export declare class Test { merchant: any; merchantAPIClient: MerchantAPIClient; private accessEndpoint; private accessKey; constructor(merchant: any); init(): Promise; setKeyTypeForAuthorization(keyType: any): void; getMerchant(): Promise; convertToRPCRequest(method: string, params: object): RPCRequest; sendRequestToMechantAPI(rpcRequest: RPCRequest, options?: { authentication?: string; }): Promise; generateTransaction(): { id: any; time: number; }; }