@synapsecns/widget
Version:
Widget library for interacting with the Synapse Protocol
7 lines (6 loc) • 411 B
TypeScript
import { type BridgeQuote } from '@/state/slices/bridgeQuote/reducer';
/**
* Refreshes quotes based on selected stale timeout duration.
* Will refresh quote when browser is active and wallet prompt is not pending.
*/
export declare const useBridgeQuoteUpdater: (quote: BridgeQuote, refreshQuoteCallback: () => Promise<void>, isQuoteLoading: boolean, isWalletPending: boolean, staleTimeout?: number) => void;