import type { Address } from 'viem'; import type { ErrorNotification } from '../../../components/FunNotification/FunNotification'; import { type PaymentMethodInfo } from '../../../domains/paymentMethods'; export type PostCheckoutError = ErrorNotification & { disableContinue: boolean; durationMs?: number; }; export interface PostCheckoutSuccessData { depositAddress: Address; paymentMethodInfo: PaymentMethodInfo; } interface UsePostCheckoutOptions { onSuccess(data: PostCheckoutSuccessData): void; } interface UsePostCheckoutResult { handlePostCheckout(depositAddress: Address): Promise; isPostCheckoutLoading: boolean; postCheckoutError: PostCheckoutError | null; postCheckoutStepMessage: string | null; } export declare function usePostCheckout({ onSuccess, }: UsePostCheckoutOptions): UsePostCheckoutResult; export {};