import type { FaqPageSchemaOptions, FaqPageSchemaResult } from './types.js'; /** * Builds a `FAQPage` JSON-LD graph node. * * Google requires `mainEntity` with at least one `Question` (`name` + `acceptedAnswer.text`). * * @param options - FAQ questions and optional page `@id`. * @returns JSON-LD object ready to inject or stringify. * * @example * buildFaqPageSchema({ * id: 'https://example.com/faq/#faq', * questions: [ * { name: 'First question?', answer: 'First answer.' }, * ], * }); */ export declare const buildFaqPageSchema: ({ id, questions, }: FaqPageSchemaOptions) => FaqPageSchemaResult;