import { RefreshableCheckout } from '../types';
import { PromoCodeError } from '../consts';
export declare function usePromoCodesSupport({ checkout, refreshCheckout }: RefreshableCheckout): {
    onPromoCodeApplied: (promoCode: string) => Promise<void>;
    onPromoCodeCleared: (promoCodeId: string) => Promise<void>;
    promoCodeErrorCode: PromoCodeError;
};
//# sourceMappingURL=use-promo-codes-support.d.ts.map