
import { FieldBaseProps, ValidationState } from "../../../shared/form.js";
import "../../../shared/index.js";
import { BaseProps, ContainerStyleProps, Styles } from "@tenphi/tasty";
import { ReactElement, Ref } from "react";
import { AriaDateFieldProps, DateValue } from "react-aria";

//#region src/components/fields/DatePicker/DateInput.d.ts
interface CubeDateInputProps<T extends DateValue = DateValue> extends Omit<AriaDateFieldProps<T>, 'errorMessage'>, BaseProps, ContainerStyleProps, FieldBaseProps {
  wrapperStyles?: Styles;
  inputStyles?: Styles;
  styles?: Styles;
  size?: 'small' | 'medium' | 'large' | (string & {});
  validationState?: ValidationState;
  useLocale?: boolean;
}
/**
 * DateInputs allow users to enter and edit date and time values using a keyboard.
 * Each part of a date value is displayed in an individually editable segment.
 */
declare const _DateInput: <T extends DateValue = DateValue>(props: CubeDateInputProps<T> & {
  ref?: Ref<HTMLElement>;
}) => ReactElement | null;
//#endregion
export { CubeDateInputProps, _DateInput };
//# sourceMappingURL=DateInput.d.ts.map