import React from "react";
import { type DateInputProps, DatePickerInput } from "../Date.Input";
import type { ConditionalModeProps, DatePickerDefaultProps } from "./DatePicker.types";
import DatePickerStandalone, { type DatePickerStandaloneProps } from "./parts/DatePicker.Standalone";
type DatePickerProps = DatePickerDefaultProps & ConditionalModeProps;
interface DatePickerComponent extends React.ForwardRefExoticComponent<DatePickerProps> {
    /**
     * @see 🏷️ {@link DatePickerStandaloneProps}
     * @example
     * ```jsx
     * <DatePicker.Standalone
     *   dropdownCaption
     *   fromDate={new Date("2022-10-01")}
     *   toDate={new Date("2026-10-01")}
     * />
     * ```
     */
    Standalone: typeof DatePickerStandalone;
    /**
     * Custom TextField for DatePicker
     * @see 🏷️ {@link DateInputProps}
     */
    Input: typeof DatePickerInput;
}
/**
 * A component that allows users to select a date from a calendar.
 *
 * @see [📝 Documentation](https://aksel.nav.no/komponenter/core/datepicker)
 * @see 🏷️ {@link DatePickerProps}
 *
 * @example
 * ```jsx
 *  const { inputProps, datepickerProps } = useMonthpicker({
 *    onMonthChange: console.log,
 *  });
 *
 *  return (
 *     <DatePicker {...datepickerProps} dropdownCaption>
 *       <DatePicker.Input
 *         {...inputProps}
 *         label="Velg dato"
 *       />
 *     </DatePicker>
 *  );
 * ```
 */
export declare const DatePicker: DatePickerComponent;
export default DatePicker;
export { DatePickerInput, DatePickerStandalone };
export type { DateInputProps, DatePickerProps, DatePickerStandaloneProps };
