import { PrismaService } from "../../../prisma/prisma.service";
import { AvatarService } from "../../upload/avatar/avatar.service";
import { UpdateProfileDto } from './dto';
export declare class ProfileService {
    private readonly prisma;
    private readonly avatarService;
    private readonly logger;
    constructor(prisma: PrismaService, avatarService: AvatarService);
    getSkills(): Promise<{
        id: string;
        createdAt: Date;
        name: string;
    }[]>;
    getProfessions(): Promise<{
        id: string;
        createdAt: Date;
        name: string;
    }[]>;
    getProfile(userId: string): Promise<{
        id: string;
        username: string;
        email: string;
        phoneNumber: string | null;
        profile: ({
            avatar: {
                id: string;
                createdAt: Date;
                createdBy: string | null;
                fileName: string;
                fileType: string;
                uploadedAt: Date;
                uploadedBy: string | null;
                imageUrl: string;
            } | null;
        } & {
            id: string;
            createdAt: Date;
            userId: string;
            imageId: string | null;
            fullName: string | null;
            address: string | null;
            gender: number | null;
            identificationNo: string | null;
            ktpNo: string | null;
            batchYear: number;
            entryClass: string | null;
            graduationClass: string | null;
            academicEntryYear: number | null;
            academicExitYear: number | null;
            graduationYear: number | null;
            about: string | null;
            facebook: string | null;
            instagram: string | null;
            x: string | null;
            linkedin: string | null;
            updatedAt: Date;
        }) | null;
        userProfessions: ({
            profession: {
                id: string;
                createdAt: Date;
                name: string;
            };
        } & {
            createdAt: Date;
            userId: string;
            professionId: string;
        })[];
        userSkills: ({
            skill: {
                id: string;
                createdAt: Date;
                name: string;
            };
        } & {
            createdAt: Date;
            userId: string;
            skillId: string;
        })[];
    }>;
    updateProfile(userId: string, dto: UpdateProfileDto): Promise<{
        id: string;
        username: string;
        email: string;
        phoneNumber: string | null;
        profile: ({
            avatar: {
                id: string;
                createdAt: Date;
                createdBy: string | null;
                fileName: string;
                fileType: string;
                uploadedAt: Date;
                uploadedBy: string | null;
                imageUrl: string;
            } | null;
        } & {
            id: string;
            createdAt: Date;
            userId: string;
            imageId: string | null;
            fullName: string | null;
            address: string | null;
            gender: number | null;
            identificationNo: string | null;
            ktpNo: string | null;
            batchYear: number;
            entryClass: string | null;
            graduationClass: string | null;
            academicEntryYear: number | null;
            academicExitYear: number | null;
            graduationYear: number | null;
            about: string | null;
            facebook: string | null;
            instagram: string | null;
            x: string | null;
            linkedin: string | null;
            updatedAt: Date;
        }) | null;
        userProfessions: ({
            profession: {
                id: string;
                createdAt: Date;
                name: string;
            };
        } & {
            createdAt: Date;
            userId: string;
            professionId: string;
        })[];
        userSkills: ({
            skill: {
                id: string;
                createdAt: Date;
                name: string;
            };
        } & {
            createdAt: Date;
            userId: string;
            skillId: string;
        })[];
    }>;
    uploadAvatar(userId: string, file: Express.Multer.File): Promise<{
        id: string;
        createdAt: Date;
        createdBy: string | null;
        fileName: string;
        fileType: string;
        uploadedAt: Date;
        uploadedBy: string | null;
        imageUrl: string;
    }>;
}
