import { n as SEO_TITLE_MAX, t as SEO_DESCRIPTION_MAX } from "../../limits-_bvqictp.js"; import { a as JsonLdOpeningHours, c as JsonLdSettings, d as jsonLdScript, f as localBusinessJsonLd, i as JsonLdDay, l as LocalBusinessFacts, m as productJsonLd, n as JsonLdAddress, o as JsonLdOptions, p as organizationJsonLd, r as JsonLdCrumb, s as JsonLdProduct, t as JsonLd, u as breadcrumbJsonLd } from "../../json-ld-D0yClzSm.js"; //#region src/core/seo/share.d.ts /** What a share of a page shows: an image URL, the site's generated card, or nothing. */ type ShareImageSource = { kind: "image"; src: string; } | { kind: "card"; } | { kind: "none"; }; interface ShareImageInput { /** The page's own share image (`pages.ogImage`). */ ogImage?: string | null; /** Whether the site renders a share card for every page. */ cards?: boolean; /** The site-wide default image (`site_settings.defaultOgImageUrl`). */ defaultImage?: string | null; } /** * The share image, in order: the page's own `ogImage`, then the site's * generated card when it renders one, then the site-wide default image. */ declare function shareImageSource(input: ShareImageInput): ShareImageSource; //#endregion //#region src/core/seo/sitemap.d.ts /** One URL in a sitemap. */ interface SitemapEntry { /** The absolute URL. */ loc: string; /** When the page last changed. A `Date` or an ISO 8601 string; left out when absent. */ lastmod?: Date | string | null; } /** * Build a `sitemap.xml` document from `entries`, in the order given, with every * value escaped. An entry whose `lastmod` isn't a valid date is listed without * one. */ declare function sitemapXml(entries: readonly SitemapEntry[]): string; interface RobotsTxtOptions { /** The sitemap's absolute URL, listed as `Sitemap:`. */ sitemapUrl?: string; /** * Paths no crawler should fetch, such as an API prefix. Don't list a page * that's `noindex`: a crawler that can't fetch a page never sees its * `noindex`, so a blocked page can still be indexed from links to it. */ disallow?: readonly string[]; } /** * Build a `robots.txt` for every crawler. With no `disallow`, it allows * everything. */ declare function robotsTxt(options?: RobotsTxtOptions): string; //#endregion //#region src/core/seo/index.d.ts /** The page fields the head reads. A `pages` row fits as it is. */ interface PageHeadPage { slug: string; title: string; /** Rich HTML; the description falls back to its text. */ body?: string | null; seoTitle?: string | null; seoDescription?: string | null; ogImage?: string | null; noindex?: boolean | null; } /** The site settings fields the head reads. A `site_settings` row fits as it is. */ interface PageHeadSettings { siteName?: string | null; faviconUrl?: string | null; metaDescription?: string | null; defaultOgImageUrl?: string | null; disableIndexing?: boolean | null; } interface PageHeadInput { page: PageHeadPage; settings?: PageHeadSettings | null; /** The site's origin, for example, `https://example.com`. */ origin: string; /** The request's path, with or without its query string. */ path: string; /** * Builds the `