import type { FunLogger, GetIdentityAssertion, RouteIdentity, RouteLimits } from '@funkit/connect-core'; /** The two fields of a discovered payment method this screen reads. */ interface PaymentMethodOption { category?: string; /** Optional: the backend answering this build may predate the field. */ maxQuoteableAmount?: string | null; } interface PaymentMethodsResponse { paymentMethods?: PaymentMethodOption[]; } /** * The ceiling `paymentMethod` names, in the requested currency — the response * carries none of its own. Another category's ceiling is not this buyer's, and * anything absent, null or unreadable is no ceiling at all. */ export declare function quoteableCeiling(response: PaymentMethodsResponse | undefined, paymentMethod: string, currency: string): RouteLimits | undefined; /** * What the buyer may still spend on this route, learned without asking for a * price. Absent unless the answer is certain: a ceiling too high costs a round * trip, one too low refuses a purchase the server would have served. */ export declare function useQuoteableCeiling({ route, logger, getIdentityAssertion, }: { route: RouteIdentity; logger: FunLogger; getIdentityAssertion?: GetIdentityAssertion; }): RouteLimits | undefined; export {}; //# sourceMappingURL=useQuoteableCeiling.d.ts.map