import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
import type { UmbDataSourceErrorResponse } from '../../../../core/repository/index.js';
export declare class UmbUserAvatarServerDataSource {
    #private;
    constructor(host: UmbControllerHost);
    /**
     * Creates an avatar for the user with the given id based on a temporary uploaded file
     * @param {string} unique
     * @param {string} fileUnique
     * @returns {*}  {Promise<UmbDataSourceErrorResponse>}
     * @memberof UmbUserServerDataSource
     */
    createAvatar(unique: string, fileUnique: string): Promise<UmbDataSourceErrorResponse>;
    /**
     * Deletes the avatar for the user with the given id
     * @param {string} unique
     * @returns {*}  {Promise<UmbDataSourceErrorResponse>}
     * @memberof UmbUserServerDataSource
     */
    deleteAvatar(unique: string): Promise<UmbDataSourceErrorResponse>;
}
