import type { Address, Contact } from '../types/index.js'; import type { ReactElement } from 'react'; import type { SEOMetadata } from '@farfetch/blackout-client'; /** * Generate Structured Data (JSON-LD) for Organization. * * @example * ``` * import { structuredOrganization } from '@farfetch/blackout-react'; * * * {structuredOrganization( * metadata, * name, * url, * logoUrl, * address: { * street: '...', * locality: '...', * ... * }, * contact: { * phone: '...', * type: '...', * ... * }, * sameAs: ['...', '...'], * 2) * } * * * ``` * * @param metadata - SEO metadata for type Organization on Homepage. * @param name - Name of the Organization. * @param url - Relative url of the page (location.pathname). * @param logoUrl - Complete url for logotype. * @param address - Full address information. * @param contact - Full Contact information. * @param sameAs - SameAs links of organization (e.g. Links to facebook and/or instagram). * @param space - Add whitespace and indentation to the serialized output. * * @returns - A script tag with Organization JSON-LD structured data. */ declare const structuredOrganization: (metadata: SEOMetadata, name: string, url: string, logoUrl: string, address: Address, contact: Contact, sameAs: string[], space?: number) => ReactElement; export default structuredOrganization;