/** * Generate schema.org `ProfilePage` JSON-LD describing a person or profile. * * Accepts a `mainEntity` person object along with optional author or * organization metadata. Images are normalized to `ImageObject` entries. * * See `ProfilePageOptions` and `PersonRef` for the input shape. * @returns A JSON-LD compatible `ProfilePage` object */ interface ImageRef { url: string; width?: number; height?: number; } interface PersonRef { name: string; url?: string; sameAs?: string[]; jobTitle?: string; image?: string | ImageRef; } interface OrgRef { name: string; url?: string; } interface ProfilePageOptions { name?: string; headline?: string; url?: string; description?: string; mainEntity?: PersonRef; author?: PersonRef | OrgRef; about?: string[]; } declare const generateProfilePageSchema: ({ name, headline, url, description, mainEntity, author, about, }: ProfilePageOptions) => any; export { generateProfilePageSchema };