/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/aggregate" />
/// <reference types="mongoose/types/callback" />
/// <reference types="mongoose/types/collection" />
/// <reference types="mongoose/types/connection" />
/// <reference types="mongoose/types/cursor" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/error" />
/// <reference types="mongoose/types/expressions" />
/// <reference types="mongoose/types/helpers" />
/// <reference types="mongoose/types/middlewares" />
/// <reference types="mongoose/types/indexes" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/mongooseoptions" />
/// <reference types="mongoose/types/pipelinestage" />
/// <reference types="mongoose/types/populate" />
/// <reference types="mongoose/types/query" />
/// <reference types="mongoose/types/schemaoptions" />
/// <reference types="mongoose/types/schematypes" />
/// <reference types="mongoose/types/session" />
/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/validation" />
/// <reference types="mongoose/types/virtuals" />
/// <reference types="mongoose" />
/// <reference types="mongoose/types/inferschematype" />
import { CalendarRepository } from '../repositories/calendar.repository';
interface IWorkingDaysApi {
    working_day: number;
    work_hours: number;
    wages: number;
    morning_start: string;
    morning_end: string;
    afternoon_start: string;
    afternoon_end: string;
    public_holiday: string;
    public_holiday_description: string;
    weekend_day: number;
    custom_date: number;
    custom_date_description: string;
    custom_date_color: string;
    type: number;
}
export declare class CalendarService {
    private readonly calendarRepository;
    constructor(calendarRepository: CalendarRepository);
    /**
     * Download a calendar from working days API and save it to DB.
     * It will download all days between startDate and endDate inclusive,
     * for example,
     * startDate as 2025-01-01
     * endDate as 2026-01-01
     */
    fulfillCalendar(startDate: string, endDate: string): Promise<void>;
    createDate(date: string, dateProp: IWorkingDaysApi): Promise<void>;
    isWorkingDay(date: string): Promise<boolean>;
    isLastWorkingDay(date: string): Promise<boolean>;
    getNextWorkingDay(date: string): Promise<string>;
    getLastWorkingDay(date: string): Promise<string>;
    getFullCalendarList(): Promise<(import("mongoose").FlattenMaps<import("../models/CalandarDay.model").ICalendarDayDoc> & {
        _id: import("mongoose").Types.ObjectId;
    })[]>;
}
export {};
