import type { ComponentClass, ForwardedRef, Component } from 'react'; import type { PickerProps, RangePickerProps } from '.'; export interface CommonPickerMethods { focus: () => void; blur: () => void; } export interface PickerComponentClass

extends ComponentClass { new (...args: ConstructorParameters>): InstanceType> & CommonPickerMethods; } export type PickerRef

= ForwardedRef & CommonPickerMethods>; export type DatePickRef = PickerRef>; export type RangePickerRef = PickerRef>;