import React from 'react'; import type { Hex } from 'viem'; import type { FunkitCheckoutQuoteResult } from '../../../domains/quote'; import type { MultiSourceWithdrawalConfig, SingleWithdrawalConfig } from '../../../providers/FunkitCheckoutContext'; import { type CheckoutModalCommonState, FunCheckoutStep } from '../stepTransition.shared'; import { type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition'; export type WithdrawalEnterAmountState = CheckoutModalCommonState & { withdrawalConfig: SingleWithdrawalConfig | MultiSourceWithdrawalConfig; }; export type WithdrawalEnterAmountNext = { /** The source that ran — the picked one on a multi-source config. */ executedConfig: SingleWithdrawalConfig; hash: Hex; withdrawnAmount: string; tokenSymbol: string; quote?: FunkitCheckoutQuoteResult; }; export declare const WithdrawalEnterAmountInfo: ModalStepInfo; /** * Cashier withdrawal amount entry. Thin adapter that renders the shared * {@link WithdrawContent} form against the resolved single-method config carried * on the modal state, mirroring the standalone `WithdrawalModal` amount screen * (free-USDC banner above the form). * * Submitting executes the real withdrawal: `WithdrawContent`'s CTA fires * `useWithdrawal`, whose `onSuccess` maps `onContinue` → `onNext`, advancing to * `WITHDRAWAL_COMPLETE`. */ export declare function WithdrawalEnterAmount({ modalState, onNext, }: ModalStepComponentProps): React.JSX.Element;