import type { Media } from '../types/index.js'; import type { ReactElement } from 'react'; /** * Generate Structured Data (JSON-LD) for Video Objects. * * @example * ``` * import { structuredVideoObject } from '@farfetch/blackout-react'; * * * {structuredVideoObject( * { * alt: '...', * source: '...', * thumbnails: '...', * }, * publicationDate, * 2) * } * * ``` * * @param media - All details data for the current Video. * @param publicationDate - Publication date of the Video. * @param space - Add whitespace and indentation to the serialized output. * * @returns - A script tag with Video Object JSON-LD structured data. */ declare const structuredVideoObject: (media: Media, publicationDate: string, space?: number) => ReactElement; export default structuredVideoObject;