/** * Pure FAQ JSON-LD builder. No React, no client-only deps — safe to import from * Server Components via the `./components/faq` subpath export. (Do NOT import * through the root `./components` barrel — that barrel is `"use client"` and * dragging it into a Server Component would force the client graph into the * server.) * * The hub used to harcode `name`/`description` here for OpenMSP; in the lib we * accept overrides so every embedder can supply its own platform branding. */ import type { Faq } from '../../types/faq'; export interface FaqSchemaOptions { name?: string; description?: string; url?: string; } export declare function baseFaqSchema(opts?: FaqSchemaOptions): { readonly url?: string | undefined; readonly '@context': "https://schema.org"; readonly '@type': "FAQPage"; readonly name: string; readonly description: string; }; export declare function buildFaqJsonLdFromFaqs(faqs: Faq[], opts?: FaqSchemaOptions): { readonly mainEntity: { '@type': string; name: string; acceptedAnswer: { '@type': string; text: string; }; }[]; readonly url?: string | undefined; readonly '@context': "https://schema.org"; readonly '@type': "FAQPage"; readonly name: string; readonly description: string; }; //# sourceMappingURL=json-ld.d.ts.map