import { File, FileService, Multipart } from "@prefabs.tech/fastify-s3"; import { BaseService } from "@prefabs.tech/fastify-slonik"; import type { User, UserCreateInput, UserUpdateInput } from "../../types"; import UserSqlFactory from "./sqlFactory"; declare class UserService extends BaseService { get bucket(): string | undefined; get factory(): UserSqlFactory; get fileService(): FileService; get sqlFactoryClass(): typeof UserSqlFactory; protected _fileService: FileService | undefined; protected _supportedMimeTypes: string[]; protected photoFilename: string; protected photoPath: string; changeEmail(id: string, email: string): Promise; changePassword(userId: string, oldPassword: string, newPassword: string): Promise<{ message: string | undefined; status: string; } | { status: string; message?: undefined; }>; deleteFile(fileId: number): Promise; deleteMe(userId: string, password: string): Promise; uploadPhoto(photo: Multipart, userId: string, uploadedById: string, uploadedAt?: number): Promise; protected getPhotoPath(userId: string): string; protected getUserWithPhoto(user: User): Promise; protected postDelete(result: User): Promise; protected postFindById(result: User): Promise; protected postFindOne(result: User): Promise; protected postUpdate(result: User): Promise; protected upload(data: Multipart, path: string, filename: string, uploadedById: string, uploadedAt?: number): Promise; } export default UserService; //# sourceMappingURL=service.d.ts.map