import { GrantedSelection } from '@fanfare-io/fanfare-sdk-core/selections'; import { SelectionCheckoutDetails } from './selection-display'; type CheckoutClick = (details?: SelectionCheckoutDetails) => void | Promise; /** Hands a checkout to the caller's callback when one is wired, and otherwise opens the checkout URL. */ export declare const checkoutHandOff: (onCheckoutClick: CheckoutClick | undefined, checkoutUrl: string | undefined) => CheckoutClick; /** * The granted CTA's hand-off, or undefined where it has nowhere to go. A pick still outstanding has * nothing to check out; absent or resolved, the caller's destination stands on its own and carries * whatever pair the grant settled. */ export declare const grantedCtaClick: (selection: GrantedSelection | null | undefined, onCheckoutClick: CheckoutClick | undefined, checkoutUrl: string | undefined) => CheckoutClick | undefined; export {};