import { EActiveTab } from '../../../../shared/types/activeTab'; /** * Props for {@link CartHeader}. */ interface ICartHeaderProps { /** * Optional callback for switching the active tab (e.g. back to swatches). * * @param arg - Active tab value */ onSetActiveTab?: (arg: EActiveTab) => void; /** * Callback for closing or toggling the sidebar. */ onToggleSidebar: () => void; } /** * Renders the cart header with navigation, count limit messaging, and close action. * * Displays: * - back navigation button (optional tab switch) * - cart title * - max swatches warning when {@link MAX_SLOTS} is reached * - close button to toggle the sidebar * * @component * * @param props - {@link ICartHeaderProps} */ export declare const CartHeader: ({ onSetActiveTab, onToggleSidebar, }: ICartHeaderProps) => import("react/jsx-runtime").JSX.Element; export {};