/** * Generate schema.org JSON-LD for `EmployerAggregateRating` and the * hosting `Organization`. * * The helper builds an `EmployerAggregateRating` object and nests it * inside an `Organization` representation of the employer. Use the * `EmployerAggregateOptions` interface for inputs. * @returns A JSON-LD compatible `Organization` object with * `aggregateRating` included */ interface OrgRef { name: string; url?: string; sameAs?: string; } interface EmployerAggregateOptions { employer: string | OrgRef; ratingValue?: number; ratingCount?: number; reviewCount?: number; bestRating?: number; worstRating?: number; url?: string; description?: string; datePublished?: string; } declare const generateEmployerAggregateRatingSchema: ({ employer, ratingValue, ratingCount, reviewCount, bestRating, worstRating, url, description, datePublished, }: EmployerAggregateOptions) => any; export { generateEmployerAggregateRatingSchema as default, generateEmployerAggregateRatingSchema };