UNPKG

@sahabaplus/moyasar

Version:

A comprehensive TypeScript SDK for integrating with the Moyasar payment gateway

25 lines 676 B
import { type ApiClient } from "../../../shared/types/index"; export declare class MockApiClient implements ApiClient { mockResponses: Map<string, any>; requestHistory: Array<{ method: string; url: string; data?: any; params?: any; }>; setMockResponse(key: string, response: any): void; request<T = any>(config: { method: string; url: string; data?: any; params?: any; }): Promise<T>; clearHistory(): void; getLastRequest(): { method: string; url: string; data?: any; params?: any; } | undefined; } //# sourceMappingURL=mock_api_client.d.ts.map