import type { WithShoppingCartProps, CartKey } from './types';
import type { ComponentType } from 'react';
export type AdditionalCartKeyProp = {
    cartKey?: CartKey;
};
export default function withShoppingCart<P>(Component: ComponentType<P & AdditionalCartKeyProp>, mapPropsToCartKey?: (props: P) => CartKey | undefined): (props: Omit<P & AdditionalCartKeyProp, keyof WithShoppingCartProps>) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=with-shopping-cart.d.ts.map