import { ReactNode } from "react"; import { DepositMethodId } from "../components/Pages/Deposit/depositMethods"; export type DepositSettingsValue = { /** Show the "Send to" destination address row in the quote summary. */ showDestinationAddress: boolean; /** Label for the primary action button. `undefined` means "use the * consumer's own default". */ actionButtonText: string | undefined; /** Default amount (in USD) seeded into the wallet flow. 0 disables seeding. */ defaultAmountUsd: number; /** Allow-list of deposit methods the picker may show. Defaults to all * methods; a method also still needs its own runtime condition to appear. */ methods: DepositMethodId[]; /** True when rendered inside the Deposit widget. Drives deposit-specific * copy in the shared processing timeline. Not integrator-configurable. */ isDepositFlow: boolean; }; /** * Per-instance deposit configuration. Replaces the old `DepositSettings` mutable * statics, which were a global singleton — two `` widgets on the same * page would stomp on each other's config, and writing them during render * violated React's rules. Scoping the values to a Context makes each widget * instance independent. */ export declare function DepositSettingsProvider({ value, children, }: { value: Partial>; children: ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Reads the current deposit settings. Returns defaults when used outside a * `DepositSettingsProvider` (e.g. the regular swap flow), so shared components * like the quote summary and submit button work in both contexts. */ export declare function useDepositSettings(): DepositSettingsValue; //# sourceMappingURL=depositSettings.d.ts.map