@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
15 lines (14 loc) • 877 B
TypeScript
import type { Hex } from 'viem';
import type { FunkitCheckoutQuoteResult } from '../../../domains/quote';
import type { CustomWithdrawalConfig, WalletWithdrawalConfig } from '../../../providers/FunkitCheckoutContext';
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
export type WithdrawalCompleteState = CheckoutModalCommonState & {
withdrawalConfig: WalletWithdrawalConfig | CustomWithdrawalConfig;
hash: Hex;
withdrawnAmount: string;
tokenSymbol: string;
quote?: FunkitCheckoutQuoteResult;
};
export type WithdrawalCompleteNext = Record<never, never>;
export declare const WithdrawalCompleteInfo: ModalStepInfo<FunCheckoutStep.WITHDRAWAL_COMPLETE>;
export declare function WithdrawalComplete(_props: ModalStepComponentProps<FunCheckoutStep.WITHDRAWAL_COMPLETE>): null;