import React from 'react'; import { type FilterOption, Filter as FilterPrimitive } from '@wix/headless-components/react'; import { type ScheduleListServiceConfig } from '../../services/schedule-list-service.js'; import { type ScheduleItem } from '../../services/schedule-item-service.js'; import { type ScheduleItemsGroup } from '../../services/schedule-items-group-service.js'; export interface RootProps { /** Child components that will have access to the schedule list service */ children: React.ReactNode; /** Configuration for the schedule list service */ scheduleListServiceConfig: ScheduleListServiceConfig; } /** * ScheduleList Root core component that provides schedule list service data. * * @component */ export declare function Root(props: RootProps): React.ReactNode; export interface ItemsProps { /** Render prop function */ children: (props: ItemsRenderProps) => React.ReactNode; } export interface ItemsRenderProps { /** List of schedule items */ items: ScheduleItem[]; } /** * ScheduleList Items core component that provides schedule list data. * * @component */ export declare function Items(props: ItemsProps): React.ReactNode; export interface GroupsProps { /** Render prop function */ children: (props: GroupsRenderProps) => React.ReactNode; } export interface GroupsRenderProps { /** List of grouped schedule items */ itemsGroups: ScheduleItemsGroup[]; } /** * ScheduleList Groups core component that provides grouped schedule items data. * * @component */ export declare function Groups(props: GroupsProps): React.ReactNode; export interface FiltersProps { /** Render prop function */ children: (props: FiltersRenderProps) => React.ReactNode; /** All stages label */ allStagesLabel: string; } export interface FiltersRenderProps { /** Filter options */ filterOptions: FilterOption[]; /** Filter value */ value: FilterPrimitive.Filter; /** Function to handle filter change */ onChange: (value: FilterPrimitive.Filter) => Promise; } /** * ScheduleList Filters core component that provides schedule list filter data. * * @component */ export declare function Filters(props: FiltersProps): React.ReactNode;