export interface CoinbaseCheckoutSurfaceProps { checkoutUrl: string; /** Log context only — the contract says URL surfaces may carry none. */ environment: string; /** The button is drawn and can be pressed. */ onReady: () => void; /** The user paid; the transfer is theirs to run from here. */ onPaid: () => void; /** Their polling saw the crypto sent. */ onSucceeded: () => void; onFailed: (code: string, detail?: string) => void; } /** * Coinbase's hosted Apple Pay button. * * Their page draws nothing but the button and waits for a real tap on it — * pressing it from injected script reaches `pending_payment_auth` and stops, * the sheet never opens — so the WebView is sized as the button and sat in * the action's own slot (design 2114:8131: "Deposit with Apple Pay" is the * amount screen's action, not a page of its own). * * - a cancelled sheet leaves the page loaded and the button live, so pressing * it again opens the sheet rather than re-running the order * - the page paints no background of its own once told to, so the frame * around it decides the button's shape */ export declare function CoinbaseCheckoutSurface({ checkoutUrl, environment, onReady, onPaid, onSucceeded, onFailed, }: CoinbaseCheckoutSurfaceProps): import("react").JSX.Element; //# sourceMappingURL=CoinbaseCheckoutSurface.d.ts.map