import { DayPeriod, Employee, Holiday, LeaveAllocation, LeaveRequest, LeaveRequestStatus, LeaveType } from '@prisma/client';
type EmpPick = Pick<Employee, 'id' | 'name' | 'code' | 'avatarColor'>;
export declare function serializeLeaveType(t: LeaveType): {
    id: string;
    code: string;
    label: string;
    tracksBalance: boolean;
};
export declare function serializeAllocation(a: LeaveAllocation): {
    id: string;
    employeeId: string;
    typeId: string;
    year: number;
    allocated: number;
    validUntil: string | null;
};
export declare function serializeHoliday(h: Holiday): {
    id: string;
    date: string;
    name: string;
};
export declare function serializeLeaveRequest(r: LeaveRequest & {
    employee?: EmpPick | null;
    leaveType?: LeaveType | null;
    decidedBy?: EmpPick | null;
}): {
    id: string;
    employeeId: string;
    employee: {
        id: string;
        name: string;
        code: string;
        avatarColor: string;
    } | null;
    typeId: string;
    leaveType: {
        id: string;
        code: string;
        label: string;
        tracksBalance: boolean;
    } | null;
    fromDate: string;
    toDate: string;
    dayPeriod: DayPeriod;
    days: number;
    description: string;
    status: LeaveRequestStatus;
    decidedById: string | null;
    decidedBy: {
        id: string;
        name: string;
        code: string;
        avatarColor: string;
    } | null;
    decidedAt: string | null;
    decisionNote: string;
    createdAt: string;
    updatedAt: string;
};
export {};
