import { BoxProps, DataAttributes, ElementProps, Factory, MantineSize, StylesApiProps } from '@mantine/core'; import { ControlsGroupSettings, DateLabelFormat, DateStringValue } from '../../types'; import { PickerControlProps } from '../PickerControl'; export type QuartersListStylesNames = 'quartersList' | 'quartersListCell' | 'quartersListRow' | 'quartersListControl'; export interface QuartersListSettings extends ControlsGroupSettings { /** `dayjs` format for quarters list or a function that returns quarter label based on the date value @default "[Q]Q" */ quartersListFormat?: DateLabelFormat; /** Passes props down to quarter picker control */ getQuarterControlProps?: (date: DateStringValue) => Partial & DataAttributes; /** Determines whether controls should be separated @default true */ withCellSpacing?: boolean; /** Determines whether the list should take the full width of its container @default false */ fullWidth?: boolean; } export interface QuartersListProps extends BoxProps, QuartersListSettings, StylesApiProps, ElementProps<'table'> { __staticSelector?: string; /** Prevents focus shift when buttons are clicked */ __preventFocus?: boolean; /** Determines whether propagation for Escape key should be stopped */ __stopPropagation?: boolean; /** Year for which quarters list should be displayed */ year: DateStringValue; /** Component size */ size?: MantineSize; } export type QuartersListFactory = Factory<{ props: QuartersListProps; ref: HTMLTableElement; stylesNames: QuartersListStylesNames; }>; export declare const QuartersList: import("@mantine/core").MantineComponent<{ props: QuartersListProps; ref: HTMLTableElement; stylesNames: QuartersListStylesNames; }>;