import { ICalendarDay, ICalendarModalOptions, ICalendarMonth, ICalendarOriginal, ICalendarResult } from './models'; import { PickModeType } from './types'; import * as i0 from "@angular/core"; export declare class IonCalendarService { private readonly defaultOpts; constructor(defaultOpts: ICalendarModalOptions); get DEFAULT_STEP(): number; safeOpt(calendarOptions?: any): ICalendarModalOptions; createOriginalCalendar(time: number, timeWithDay?: boolean): ICalendarOriginal; private findDayConfig; /** * Create a calendar day object based on the given time, options, and month. * * @param {number} time - The time in milliseconds. * @param {ICalendarModalOptions} options - The calendar modal options. * @param {number} month - The month number. * @return {ICalendarDay} The created calendar day object. */ createCalendarDay(time: number, options: ICalendarModalOptions, month?: number): ICalendarDay; /** * Gets the attributes of a calendar day based on the given date, day configuration, and options. * * @param {DateTime} date - The date of the calendar day. * @param {IDayConfig | null} dayConfig - The configuration for the day (optional). * @param {ICalendarModalOptions} options - The options for the calendar modal. * @return {{ disable: boolean; title: string; subTitle: string; }} The attributes of the calendar day. */ private getCalendarDayAttributes; /** * Creates a calendar month of a given week. * * @param {ICalendarOriginal} original - The original calendar data. * @param {ICalendarModalOptions} options - The calendar modal options. * @returns {ICalendarMonth} The calendar month of the given week. */ private createCalendarMonthOfWeek; createCalendarMonth(original: ICalendarOriginal, opt: ICalendarModalOptions): ICalendarMonth; /** * Creates an array of CalendarMonth objects by period. * * @param {number} startTime - The start time of the period. * @param {ICalendarModalOptions} opt - The calendar modal options. * @return {Array} The array of CalendarMonth objects. */ createWeeksByPeriod(startTime: number, opt: ICalendarModalOptions): Array; /** * Creates an array of CalendarMonth objects based on the given start time and the number of months. * * @param {number} startTime - The starting time in milliseconds. * @param {number} monthsNum - The number of months to create. * @param {ICalendarModalOptions} opt - The options for creating the CalendarMonth objects. * @return {Array} - An array of CalendarMonth objects. */ createMonthsByPeriod(startTime: number, monthsNum: number, opt: ICalendarModalOptions): Array; /** * Creates an array of CalendarMonth objects based on the specified start year, number of years, and options. * * @param {number} startYear - The starting year. * @param {number} yearsNum - The number of years. * @param {ICalendarModalOptions} opt - The options for the calendar modal. * @return {Array} An array of CalendarMonth objects. */ createYearsByPeriod(startYear: number, yearsNum: number, opt: ICalendarModalOptions): Array; wrapResult(original: ICalendarDay[], pickMode: PickModeType): ICalendarDay[] | ICalendarResult | { from: ICalendarResult; to: ICalendarResult; } | ICalendarResult[]; multiFormat(time: number): ICalendarResult; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }