/** * Generate schema.org `BlogPosting` JSON-LD for a blog entry. * * Produces a compact `BlogPosting` object using headline, dates, image and * author information. Only provided fields are emitted, and the returned * object is ready to be stringified as JSON-LD. * * See the `Blog` interface below for the accepted properties. * @returns A JSON-LD compatible `BlogPosting` object */ interface Blog { authorImage: string; authorName: string; banner: string; createdAt: string; excerpt: string; title: string; updatedAt: string; url: string; } declare const generateBlogSchema: ({ authorImage, authorName, banner, createdAt, excerpt, title, updatedAt, url, }: Blog) => { '@context': string; '@type': string; headline: string; dateModified: string; datePublished: string; description: string; image: string; url: string; author: { '@type': string; name: string; url: string; }; }; export { generateBlogSchema };