import * as React from 'react'; declare function ApprovalStepPaymentReceipt({ approvalId, onDone, onCancel, }: { /** The approval step this receipt belongs to. */ approvalId: string; /** Called when the user clicks Done. */ onDone: () => Promise; /** Called when the user clicks Cancel. */ onCancel: () => Promise; }): import("react/jsx-runtime").JSX.Element; /** * Component for rendering an approval step payment receipt. Try Again replaces * a checkout that is still in progress and starts another payment for the same * approval step. The developer implements what happens when the user clicks * 'Done' or 'Cancel'. * * It is also recommended to import the `css` from this library as well. * * ```js * import { ApprovalStepPaymentReceipt } from '@oneblink/apps-react' * import '@oneblink/apps-react/dist/styles.css' * ``` * * #### Example * * ```tsx * import React from 'react' * import ReactDOM from 'react-dom' * import { ApprovalStepPaymentReceipt } from '@oneblink/apps-react' * import '@oneblink/apps-react/dist/styles.css' * * function ReceiptContainer() { * const handleDone = React.useCallback(async () => { * console.log('All done!') * }, []) * const handleCancel = React.useCallback(async () => { * console.log('Cancelled!') * }, []) * * return ( * * ) * } * * function App() { * return ( * * * * ) * } * * const root = document.getElementById('root') * if (root) { * ReactDOM.render(, root) * } * ``` * * @param props * @returns * @group Components */ declare const _default: React.MemoExoticComponent; export default _default;