import type { Components } from 'rc-picker/lib/interface'; export default function useComponents(components?: Components): { time?: React.ComponentType> | undefined; date?: React.ComponentType> | undefined; week?: React.ComponentType> | undefined; month?: React.ComponentType> | undefined; quarter?: React.ComponentType> | undefined; year?: React.ComponentType> | undefined; decade?: React.ComponentType> | undefined; datetime?: React.ComponentType> | undefined; button: string | React.ComponentClass | React.FC>; input?: React.ComponentType | string; };