export interface WithdrawAmountSource { /** The source as the host names it, e.g. `USDC (Perps)`. */ label: string; /** What the amount and the balance are denominated in, e.g. `USDG`. */ symbol: string; chainId: number; /** Direct token logo URL; falls back to a CDN lookup by symbol. */ iconSrc?: string; } export interface WithdrawAmountScreenProps { title: string; /** The withdrawal amount, in source-token units. */ amount: string; /** Sets the amount outright, in source-token units (Use Max). */ onChangeAmount: (amount: string) => void; /** * The number in the amount display, which the numpad edits — dollars when * {@link inUsd}, else source-token units. Held by the caller so it survives * this screen leaving the stack. */ input: string; onChangeInput: (input: string) => void; /** Whether the amount is being typed in dollars rather than token units. */ inUsd: boolean; /** The amount in dollars. `undefined` when nothing prices it. */ usdLabel: string | undefined; /** Switches denomination. `undefined` drops the swap entirely. */ onSwapDenomination: (() => void) | undefined; /** Fraction digits the source token carries; caps what the numpad accepts. */ sourceDecimals?: number; /** Spendable balance in source-token units. Omit to drop Use Max. */ balance?: string; /** What the withdrawal is drawn from. */ source: WithdrawAmountSource; /** Opens the source picker. Omit when the host offers a single source. */ onPressSource?: () => void; /** Replaces the converted amount and tints the amount. */ errorText?: string; canContinue: boolean; onContinue: () => void; onBack: () => void; onClose: () => void; } /** * Step one of the crypto withdrawal: how much, and what it comes out of. The * destination, the recipient, the fees and the signature are the step that * follows. * * The amount is driven by an in-app numpad rather than the system keyboard, so * the sheet never has to move out from under it. */ export declare function WithdrawAmountScreen({ title, amount, onChangeAmount, input, onChangeInput, inUsd, usdLabel, onSwapDenomination, sourceDecimals, balance, source, onPressSource, errorText, canContinue, onContinue, onBack, onClose, }: WithdrawAmountScreenProps): import("react").JSX.Element; //# sourceMappingURL=WithdrawAmountScreen.d.ts.map