type SpeakableJsonLdArgs = { /** * CSS selectors marking the parts best suited to be read aloud by voice * assistants / AI (a summary, the lead paragraph, key answer). Default * ['h1', '.speakable']. Keep it to genuinely readable, self-contained text — * not nav or boilerplate. */ cssSelectors?: string[]; /** Optional @id to join this node into a @graph (e.g. `${url}#webpage`). */ id?: string; /** Canonical URL of the page this describes. */ url: string; }; /** * Builds WebPage JSON-LD with a `speakable` SpeakableSpecification — tells voice * assistants and AI which parts of the page are meant to be read aloud / * quoted. A GEO signal: pairs with the Markdown/llms work to make the page's key * content easy for assistants to lift cleanly. * * Add to the page's @graph via JsonLdGraph (recommended) or emit standalone: * * import { buildSpeakableJsonLd } from '@intecion/ipal-kit' * const node = buildSpeakableJsonLd({ url: canonical, cssSelectors: ['h1', '.lead'] }) * * Mark the matching elements in the project markup (e.g. className="speakable" * or a `.lead` summary). Selectors that match nothing are simply ignored by * consumers — but don't point at nav/boilerplate. */ export declare function buildSpeakableJsonLd({ id, cssSelectors, url, }: SpeakableJsonLdArgs): { speakable: { '@type': string; cssSelector: string[]; }; url: string; '@id'?: string | undefined; '@context': string; '@type': string; }; export {};