interface GraphicAuthor { name: string; link: string; } interface AlternateLink { /** * A [BCP-47](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) language tag, e.g. `en-GB`, `es`, or the special value `x-default`. */ hreflang: string; /** * Absolute URL of the localized version of this page. */ href: string; } interface Props { /** * The project's fully-qualified base URL (origin + trailing slash). Only its origin is used, to build canonical and share URLs. In graphics kit projects this is injected at build time as the global `__BASE_URL__` — no import needed. */ baseUrl: string; /** * [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL) object for the page. */ pageUrl: URL; /** * SEO title */ seoTitle: string; /** * SEO description */ seoDescription: string; /** * Share title */ shareTitle: string; /** * Share description */ shareDescription: string; /** * Share image path. **Must be an absolute path.** */ shareImgPath: string; /** * Share image alt text, up to 420 characters. */ shareImgAlt?: string; /** * Publish time as an [ISO string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) */ publishTime?: string; /** * Updated time as an [ISO string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) */ updateTime?: string; /** * Array of authors for the piece. Each author object must have `name` and `link` attributes. */ authors?: GraphicAuthor[]; /** * Section the story belongs to, e.g. "World", "Business". Used for `article:section` and JSON-LD `articleSection`. */ articleSection?: string; /** * Keywords/tags describing the story. Used for `article:tag` and JSON-LD `keywords`. */ keywords?: string[]; /** * Open Graph locale. Defaults to `en_GB`. */ locale?: string; /** * Pixel width of the share image. Improves social/link previews when provided. */ shareImgWidth?: number; /** * Pixel height of the share image. Improves social/link previews when provided. */ shareImgHeight?: number; /** * Localized versions of this page for [`hreflang`](https://developers.google.com/search/docs/specialty/international/localized-versions) annotations. Each entry needs a `hreflang` (BCP-47 tag or `x-default`) and an absolute `href`. Include an entry for _this_ page too, plus an `x-default`, so every language version lists the full set. */ alternates?: AlternateLink[]; } /** * Renders the full suite of SEO and social-sharing metadata (title, description, Open Graph, Twitter cards, JSON-LD structured data) for standalone graphics pages on reuters.com. For embed/iframe pages use `EmbedMetadata` instead. * * [Read the docs.](https://reuters-graphics.github.io/graphics-components/?path=/docs/components-page-metadata-seo--docs) */ declare const SEO: import("svelte").Component; type SEO = ReturnType; export default SEO;