import type { Author, Manifest } from '@verdaccio/types'; export type AuthorAvatar = Author & { avatar?: string; }; export type AuthorFormat = Author | string | null | void; export declare const GENERIC_AVATAR: string; /** * Formats author field for the web UI. * @see https://docs.npmjs.com/files/package.json#author */ export declare function formatAuthor(author: AuthorFormat): any; /** * Generate a gravatar url from an email address. */ export declare function generateGravatarUrl(email?: string | void, online?: boolean): string; export declare function normalizeContributors(contributors: Author[]): Author[]; /** * Add gravatar avatars to the author, contributors and maintainers of a manifest. */ export declare function addGravatarSupport(pkgInfo: Manifest, online?: boolean): AuthorAvatar;