import { Product, Route } from '@jetshop/core/types'; import * as React from 'react'; import { LinkProps } from 'react-router-dom'; export interface ProductLinkProps extends Partial { /** The full Product returned from the query */ product: Product; /** Used for product tracking */ index?: number; /** Used for product tracking */ list?: string; /** If passed, used to construct the link path. Otherwise use canonical category. */ categoryPath?: Route; /** Optional string to be used as the search string. */ search?: string; /** Optional string to be used as the hash string. */ hash?: string; className?: string; preloadRoute?: boolean; onMouseEnter?: (event: React.MouseEvent) => any; } export declare function getPathWithTrailingSlash(path: string): string; declare const ProductLink: React.FC; export default ProductLink;