import { Cart, Contact, Customer, GraphQLClient } from '@propeller-commerce/propeller-sdk-v2'; export interface CartSummaryProps { /** The shopping cart used to populate the cart summary data */ cart: Cart; /** Extra classes for the panel root, appended after the defaults. */ className?: string; /** Currency symbol to display. Defaults to '€'. */ currency?: string; /** Cart summary block title */ title?: string; /** Labels for the component */ labels?: Record; /** Display the subtotal of the shopping cart */ showSubtotal?: boolean; /** Display the total discount of the shopping cart */ showDiscount?: boolean; /** Display the shipping costs of the shopping cart */ showShippingCosts?: boolean; /** Display all VATs of the shopping cart */ showVATs?: boolean; /** Display the total of the shopping cart excluding the VAT */ showTotalExclVat?: boolean; /** Display the total VAT of the shopping cart */ showTotalVat?: boolean; /** Display the checkout button */ showCheckoutButton?: boolean; /** Action handler when the checkout button is clicked */ onCheckoutButtonClick?: (cart: Cart) => void; /** Custom price formatting function */ formatPrice?: (price: number) => string; /** GraphQL client — required for the default requestPurchaseAuthorization handler */ graphqlClient?: GraphQLClient; /** Logged-in user — used to determine purchaser role and authorization limit */ user?: Contact | Customer; /** Active company ID — used to look up the user's PAC for this company */ companyId?: number; /** * Override the default CartService.requestPurchaseAuthorization() call. * Note: when this override is used, afterRequestAuthorization receives the original cart. */ onRequestAuthorization?: (cart: Cart) => void; /** Fires after authorization request is sent; receives the updated cart */ afterRequestAuthorization?: (cart: Cart) => void; /** Called when requestPurchaseAuthorization fails; receives the error */ onError?: (err: Error) => void; /** Action handler when the "Request a Quote" button is clicked */ onRequestQuoteClick?: (cart: Cart) => void; /** Configuration object for image filters */ configuration?: any; } declare const _default: import('vue').DefineComponent & Readonly<{}>, { showCheckoutButton: boolean; showSubtotal: boolean; showDiscount: boolean; showShippingCosts: boolean; showVATs: boolean; showTotalExclVat: boolean; showTotalVat: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; export default _default;