import { DiscountCodeInfoDTO } from '@sentecacommerce/sdk';
export declare const useCheckoutDiscountCode: (onAddCallback?: (() => void) | undefined, onAddError?: ((e: DiscountCodeInfoDTO) => void) | undefined, onRemoveCallback?: (() => void) | undefined) => {
    appliedCodes: DiscountCodeInfoDTO[] | undefined;
    handleDiscountCodeAdd: import("react-query").MutateFunction<import("@sentecacommerce/sdk").OrderDTO, unknown, import("@sentecacommerce/sdk").DiscountCodeUpdateDTO, unknown>;
    handleDiscountCodeRemove: import("react-query").MutateFunction<import("@sentecacommerce/sdk").OrderDTO, unknown, import("@sentecacommerce/sdk").DiscountCodeUpdateDTO, unknown>;
};
