import '../nui-icon/nui-icon.js'; import { type TemplateResult } from 'lit'; import type { NuiType } from '../../types/nui-type.js'; import { toIsoDate } from './date-utils.js'; import type { DatePickerSize, DatePickerVariant } from './types.js'; export interface NuiDatePickerViewState { value: string; displayValue: string; placeholder: string; disabled: boolean; readonly: boolean; invalid: boolean; required: boolean; fluid: boolean; size: DatePickerSize | ''; variant: DatePickerVariant | ''; showIcon: boolean; icon: string; manualInput: boolean; name: string; inputId: string; ariaLabel: string; ariaLabelledby: string; overlayVisible: boolean; visibleMonth: Date; selectedDate: Date | null; today: Date; nuiType: NuiType; datePickerClass: string; } export interface DatePickerRenderHandlers { onInput: (event: Event) => void; onChange: (event: Event) => void; onFocus: (event: Event) => void; onBlur: (event: Event) => void; onIconClick: (event: Event) => void; onIconMouseDown: (event: Event) => void; onPrevMonth: (event: Event) => void; onNextMonth: (event: Event) => void; onDayClick: (iso: string, event: Event) => void; onPanelMouseDown: (event: Event) => void; } export declare function getDatePickerClass(datePickerClass: string): string; export declare function renderDatePicker(state: NuiDatePickerViewState, handlers: DatePickerRenderHandlers): TemplateResult; export declare function getVisibleMonth(value: string, fallback?: Date): Date; export declare function getSelectedDate(value: string): Date | null; export declare function getDisplayValue(value: string, dateFormat: string): string; export declare function commitIsoValue(iso: string): string; export declare function shiftVisibleMonth(current: Date, delta: number): Date; export declare function getToday(): Date; export { toIsoDate }; //# sourceMappingURL=logic.d.ts.map