import { IconDefinition } from "@fortawesome/fontawesome-svg-core"; import { TextProps } from "@stenajs-webui/core"; import { CSSProperties } from "react"; import { DayState, DayStateHighlight } from "../../types/CalendarTypes"; import { DayData, MonthData, WeekData } from "../../util/calendar/CalendarDataFactory"; export interface CalendarTheme { width: string; height: string; WeekNumber: WeekNumberTheme; WeekDay: WeekDayTheme; CalendarDay: CalendarDayTheme; CalendarMonth: CalendarMonthTheme; } export interface WeekNumberTheme { backgroundColor: string; textColor?: string; clickableTextColor?: string; } export interface CalendarMonthTheme { headerTextColor?: string; cellSpacing?: string; headerLeftIcon?: IconDefinition; headerRightIcon?: IconDefinition; } export interface WeekDayTheme { textColor?: string; clickableTextColor?: string; } export type CalendarStyleProvider = (defaultHighlights: Array | undefined, dayState: DayState | undefined, day: DayData, week: WeekData, month: MonthData, userData?: TUserData) => TResult; export type CalendarWrapperStyleProvider = CalendarStyleProvider; type TextPropsProvider = CalendarStyleProvider; export interface CalendarDayTheme { tdStyle?: CalendarWrapperStyleProvider; innerWrapperStyle?: CalendarWrapperStyleProvider; cellWrapperStyle?: CalendarWrapperStyleProvider; textProps?: TextPropsProvider; } export interface CalendarDefaultWrapperColors { selectedBackground: string; rangeBackground: string; todayBackground: string; borderColor?: string; borderRadius?: string; rangeBorderRadius?: string; } export declare const defaultWrapperStyleProvider: ({ selectedBackground, todayBackground, rangeBackground, borderColor, }: CalendarDefaultWrapperColors) => CalendarWrapperStyleProvider; interface DefaultTextColors { disabledColor: string; inOtherMonthColor: string; selectedColor: string; rangeTextColor?: string; } export declare const defaultTextPropsProvider: ({ selectedColor, disabledColor, inOtherMonthColor, rangeTextColor, }: DefaultTextColors) => TextPropsProvider; export declare const defaultCalendarTheme: CalendarTheme; export declare const extranetCalendarTheme: CalendarTheme; export {};