import { BoxProps, ElementProps, Factory, MantineRadius, StylesApiProps } from '@mantine/core'; import { ScheduleLabelsOverride } from '../../../labels'; import { ScheduleViewLevel } from '../../../types'; export type ViewSelectStylesNames = 'viewSelect'; export interface ViewSelectProps extends BoxProps, StylesApiProps, ElementProps<'div', 'value' | 'onChange'> { __staticSelector?: string; /** A list of views to display @default ['day', 'week', 'month', 'year'] */ views?: readonly ScheduleViewLevel[]; /** Selected view type */ value?: ScheduleViewLevel; /** Called when view type changes */ onChange?: (value: ScheduleViewLevel) => void; /** Key of `theme.radius` or any valid CSS value to set `border-radius` @default theme.defaultRadius */ radius?: MantineRadius; /** Labels override */ labels?: ScheduleLabelsOverride; } export type ViewSelectFactory = Factory<{ props: ViewSelectProps; ref: HTMLDivElement; stylesNames: ViewSelectStylesNames; }>; export declare const ViewSelect: import("@mantine/core").MantineComponent<{ props: ViewSelectProps; ref: HTMLDivElement; stylesNames: ViewSelectStylesNames; }>;