import { UmbUserRepositoryBase } from '../user-repository-base.js';
export declare class UmbUserAvatarRepository extends UmbUserRepositoryBase {
    #private;
    /**
     * Uploads an avatar for the user with the given id
     * @param {string} userUnique
     * @param {File} file
     * @returns {Promise<UmbDataSourceErrorResponse>}
     * @memberof UmbUserRepository
     */
    uploadAvatar(userUnique: string, file: File): Promise<{
        error: Error | import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | import("../../../../core/resources/index.js").UmbError | undefined;
    }>;
    /**
     * Removes the avatar for the user with the given id
     * @param {string} userUnique
     * @returns {Promise<UmbDataSourceErrorResponse>}
     * @memberof UmbUserRepository
     */
    deleteAvatar(userUnique: string): Promise<{
        error: Error | import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | import("../../../../core/resources/index.js").UmbError | undefined;
    }>;
    destroy(): void;
}
export default UmbUserAvatarRepository;
