import '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js'; import type { DateItemEvent } from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js'; import type { DateItemSize } from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** The size of the date item, controlling its layout and whether event details are shown. - `small`: Compact, shows only the date and event dots. - `large`: Expands to show event titles and descriptions for up to two events. */ size?: DateItemSize; /** Whether the date item is disabled. When true, the button is visually muted and not interactive. */ disabled?: boolean; /** Array of events to display on this date. In small size, shows an event dot indicator. In large size, displays event details using obc-event-item components. */ events?: DateItemEvent[]; /** Number of events to display from the events array. When 0, shows all events. In small size, always caps at 2 dots regardless of this value. */ eventCount?: number; /** Whether the date item represents today. When true, displays the "Today" label (in large size) and uses amplified styling. */ isToday?: boolean; /** Whether the date item is checked/selected. When true, uses selected styling (blue filled background). */ checked?: boolean; /** The numeric day of the month to display (1–31). Values outside this range are clamped. */ date?: number; } export interface Events { onDateClick?: (event: CustomEvent<{ date: number; events: DateItemEvent[]; isToday: boolean; checked: boolean; }>) => void; } export interface Slots { children?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcDateItem: import("svelte").Component<$$ComponentProps, { DateItemEvent: typeof DateItemEvent; DateItemSize: typeof DateItemSize; }, "">; type ObcDateItem = ReturnType; export default ObcDateItem;