import Sinon, { type SinonStub } from 'sinon'; import type { BridgeQuote, BridgeTransferStatus } from '../interfaces/IExternalBridge.js'; /** * Create mock functions for LiFi SDK. */ export declare function createLiFiSdkMocks(): { createConfig: Sinon.SinonStub; getQuote: Sinon.SinonStub; executeRoute: Sinon.SinonStub; getStatus: Sinon.SinonStub; convertQuoteToRoute: Sinon.SinonStub; }; /** * Configure a mock getQuote to return a successful quote. */ export declare function mockSuccessfulQuote(stub: SinonStub, overrides?: Partial<{ id: string; tool: string; fromAmount: string; toAmount: string; toAmountMin: string; executionDuration: number; fromChainId: number; toChainId: number; }>): void; /** * Configure a mock executeRoute to return a successful execution. */ export declare function mockSuccessfulExecution(stub: SinonStub, txHash: string): void; /** * Configure a mock getStatus to return a specific status. */ export declare function mockLiFiStatus(stub: SinonStub, status: 'DONE' | 'PENDING' | 'FAILED' | 'NOT_FOUND', overrides?: Partial<{ receivingTxHash: string; amount: string; substatus: string; }>): void; /** * Create a mock BridgeQuote for testing. * The route structure includes all fields read by validateRouteAgainstRequest. */ export declare function createMockBridgeQuote(overrides?: Partial): BridgeQuote; /** * Create a mock BridgeTransferStatus for testing. */ export declare function createMockBridgeStatus(status: 'pending' | 'complete' | 'failed' | 'not_found', overrides?: Partial<{ substatus: string; receivingTxHash: string; receivedAmount: bigint; error: string; }>): BridgeTransferStatus; //# sourceMappingURL=lifiMocks.d.ts.map