import { __InputStylesNames, BoxProps, Factory, InputVariant, MantineComponentStaticProperties, StylesApiProps } from '@mantine/core'; import { DatePickerType } from '../../types'; import { DateInputSharedProps } from '../PickerInputBase'; import { WeekPickerBaseProps, WeekPickerStylesNames } from '../WeekPicker'; export type WeekPickerInputStylesNames = __InputStylesNames | 'placeholder' | WeekPickerStylesNames; export interface WeekPickerInputProps extends BoxProps, DateInputSharedProps, WeekPickerBaseProps, StylesApiProps { /** `dayjs` format applied to the start and end dates of the week @default "MMM D, YYYY" */ valueFormat?: string; } export type WeekPickerInputFactory = Factory<{ props: WeekPickerInputProps; ref: HTMLButtonElement; stylesNames: WeekPickerInputStylesNames; variant: InputVariant; }>; type WeekPickerInputComponent = ((props: WeekPickerInputProps & { ref?: React.Ref; }) => React.JSX.Element) & { displayName?: string; } & MantineComponentStaticProperties; export declare const WeekPickerInput: WeekPickerInputComponent; export declare namespace WeekPickerInput { type Props = WeekPickerInputProps; type StylesNames = WeekPickerInputStylesNames; type Factory = WeekPickerInputFactory; } export {};