import { CalenderOptiopn, iMethods, type CalenderOptiopnRepeatedTask, type Views } from "./types/type"; import { CalendarEvent } from "./utils/event"; export declare class WtsCalendar { events: CalendarEvent[]; option: CalenderOptiopn; view: Views; viewDate: Date; addEvent: (data: CalendarEvent | Array) => void; on: (type: iMethods, callback: Function) => void; format: (date: Date, format: string) => string; setView: (view: Views, date?: Date) => void; next: () => void; previous: () => void; setDate: (Date: string | Date) => void; methods: { [key: string]: Function[]; }; document: Document; updateCustomTitle: (title: string, element: HTMLElement | Element | string) => void; constructor(option: CalenderOptiopn | CalenderOptiopnRepeatedTask); } export declare function DateFormat(date: Date, format: string): string;