import type { IAvatar, IUser } from '@rocket.chat/core-typings'; import type { FindOptions } from 'mongodb'; import type { IBaseUploadsModel } from './IBaseUploadsModel'; export interface IAvatarsModel extends IBaseUploadsModel { findOneByUserId(userId: IUser['_id'], options?: FindOptions): Promise; findOneByETag(eTag: string, options?: FindOptions): Promise; }