import { FundingMethod } from '../../components/Openfort/types.js'; import type { OnrampMethodId, ResolvedFundingMethod } from './fundingClient.js'; export declare const getBackendUrl: () => string; /** The stateless preview returns the same rows as the session-scoped methods endpoint. */ export type ResolvedOnrampMethod = ResolvedFundingMethod; /** The backend (snake_case) id for an SDK FundingMethod, or undefined for crypto rails. */ export declare function backendMethodId(method: FundingMethod): OnrampMethodId | undefined; type FetchOnrampMethodsParams = { targetChain: string; targetCurrency: string; publishableKey: string; country?: string; }; /** * GET /v2/funding/onramp/methods — the fiat methods Openfort resolves for the * destination and the buyer's region (the stateless preview behind the Deposit * hub rows). Never throws: returns [] on any failure — the hub then hides the * fiat rows. */ export declare function fetchOnrampMethods(params: FetchOnrampMethodsParams): Promise; export {};