import { PrismaService } from '../prisma/prisma.service';
export declare class DepartmentsService {
    private prisma;
    constructor(prisma: PrismaService);
    findAll(): Promise<({
        _count: {
            employees: number;
        };
    } & {
        id: number;
        name: string;
        code: string | null;
        description: string | null;
    })[]>;
    findById(id: number): Promise<({
        employees: {
            id: number;
            empNo: string;
            firstName: string;
            lastName: string;
            email: string | null;
            phone: string | null;
            nationalId: string | null;
            hireDate: Date | null;
            birthDate: Date | null;
            address: string | null;
            salary: number;
            departmentId: number | null;
            shiftId: number | null;
            status: string;
            createdAt: Date;
            updatedAt: Date;
        }[];
    } & {
        id: number;
        name: string;
        code: string | null;
        description: string | null;
    }) | null>;
    create(data: {
        name: string;
        code?: string;
        description?: string;
    }): Promise<{
        id: number;
        name: string;
        code: string | null;
        description: string | null;
    }>;
    update(id: number, data: {
        name?: string;
        code?: string;
        description?: string;
    }): Promise<{
        id: number;
        name: string;
        code: string | null;
        description: string | null;
    }>;
    delete(id: number): Promise<{
        id: number;
        name: string;
        code: string | null;
        description: string | null;
    }>;
}
