UNPKG

@nextcloud/vue

Version:
29 lines (28 loc) 643 B
/** * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ interface AvatarUrlOptions { /** * Should the dark theme variant be used. */ isDarkTheme?: boolean; /** * Is the user a guest user. */ isGuest?: boolean; /** * Size of the avatar. * * @default 64 */ size?: 64 | 512; } /** * Get the avatar URL for a given user. * * @param user - The user id * @param options - Adjustments for the avatar format */ export declare function getAvatarUrl(user: string, options?: AvatarUrlOptions): string; export {};