import * as React from 'react'; import type { CalendarProps, ContainerState, DatepickerProps, StatefulContainerProps, StateChangeType, StateReducer } from './types'; type InputProps = CalendarProps | DatepickerProps; type Props = StatefulContainerProps, T>; declare class StatefulContainer extends React.Component, ContainerState> { static defaultProps: { stateReducer: StateReducer; } & Partial>; constructor(props: Props); onChange: (a: { readonly date: T | undefined | null | Array; }) => unknown; internalSetState(type: StateChangeType, changes: ContainerState): void; render(): React.ReactNode; } export default StatefulContainer;