import type { ReactElement } from 'react'; import type { SEOMetadata } from '@farfetch/blackout-client'; import type { StructuredProductListing } from '../types/index.js'; /** * Generate Structured Data (JSON-LD) for Products Listing. * * @example * ``` * import { structuredProductListing } from '@farfetch/blackout-react'; * * * {structuredProductListing( * productListing, * metadata, * url, * 2) * } * * * ``` * * @param listing - All details data for the Products List. * @param metadata - All SEO metadata for the Products List. * @param url - Relative URL of the page. * @param space - Add whitespace and indentation to the serialized output. * * @returns - A script tag with Product Listing JSON-LD structured data. */ declare const structuredProductListing: (listing: StructuredProductListing, metadata: SEOMetadata, url: string, space?: number) => ReactElement; export default structuredProductListing;