import { type ReactNode } from 'react';
import type { QuoteBuilder } from '../../../domains/quoteMode/types';
import type { CheckoutQuoteError } from '../../../providers/FunkitQuoteContext';
interface TriggerNewQuoteOptions {
    maxRetries: number;
}
interface UseCheckoutQuoteOptions {
    quoteBuilder: QuoteBuilder;
    onFailure: (error: CheckoutQuoteError) => void;
    onSuccess?: () => void;
}
interface UseCheckoutQuoteResult {
    error: ReactNode;
    isQuoting: boolean;
    step: string | null;
    triggerNewQuote: (options: TriggerNewQuoteOptions) => void;
}
export declare function useCheckoutQuote({ quoteBuilder, onFailure, onSuccess, }: UseCheckoutQuoteOptions): UseCheckoutQuoteResult;
export {};
