import type { Ref, KeyboardEventHandler } from 'react'; import type { FormControlProps } from '../../FormControl'; import type DateTimeProps from '../DateTime.types'; import type { DateRangeCallbackParameter, DateTimeProperties } from '../DateTime.types'; export interface DateRangeInputHandleValue { getCurrentValue: () => DateRangeCallbackParameter; } export interface DateRangeInputProps extends DateTimeProperties { /** Object of range boundaries. */ value?: { start?: DateTimeProps['value']; end?: DateTimeProps['value']; }; /** * Display additional column with week number in date picker popover. * @default false */ showWeekNumber?: boolean; /** Pass a string or a fragment with an Icon and string for first part of DataRangeInput. */ fromLabel?: FormControlProps['label']; /** Pass a string or a fragment with an Icon and string for second part of DataRangeInput. */ toLabel?: FormControlProps['label']; /** Pass an object with "heading" and "content" properties to show AdditionalInfo for second part of DataRangeInput. */ toAdditionalInfo?: FormControlProps['additionalInfo']; /** Pass an object with "heading" and "content" properties to show AdditionalInfo for first part of DataRangeInput. */ fromAdditionalInfo?: FormControlProps['additionalInfo']; /** Callback fired when input value changes. */ onChange: (value: DateRangeCallbackParameter) => void; /** Callback fired when the component gets focused. */ onFocus?: (value: DateRangeCallbackParameter) => void; /** Callback fired when the component loses focus. */ onBlur?: (value: DateRangeCallbackParameter) => void; /** The keydown handler for first part of DateRangeInput. */ onFromInputKeyDown?: KeyboardEventHandler; /** The keydown handler for second part of DateRangeInput. */ onToInputKeyDown?: KeyboardEventHandler; /** Automatically focuses the input on render. */ autoFocus?: boolean; /** Additional properties for imperative control. */ handle?: Ref; } declare const _default: import("react").ForwardRefExoticComponent> & { getTestIds: (testIdProp?: import("../../..").TestIdProp["testId"]) => import("../../..").TestIdsRecord; }; export default _default; //# sourceMappingURL=DateRangeInput.d.ts.map