@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
16 lines (15 loc) • 880 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 WithdrawalEnterAmountState = CheckoutModalCommonState & {
withdrawalConfig: WalletWithdrawalConfig | CustomWithdrawalConfig;
};
export type WithdrawalEnterAmountNext = {
hash: Hex;
withdrawnAmount: string;
tokenSymbol: string;
quote?: FunkitCheckoutQuoteResult;
};
export declare const WithdrawalEnterAmountInfo: ModalStepInfo<FunCheckoutStep.WITHDRAWAL_ENTER_AMOUNT>;
export declare function WithdrawalEnterAmount(_props: ModalStepComponentProps<FunCheckoutStep.WITHDRAWAL_ENTER_AMOUNT>): null;