import * as React from 'react'; /** * Generic name to any dictionary. */ export declare type GenericDictionary = Record; /** * Class dictionary. */ export declare type ClassDictionary = Record; export interface ComponentProps extends GenericDictionary { as?: React.ElementType; ref?: React.Ref; className?: string; } export declare type ShorthandRenderFunction = (Component: React.ElementType, props: TProps) => React.ReactNode; export declare type ShorthandProps = React.ReactChild | React.ReactNodeArray | React.ReactPortal | boolean | number | null | undefined | (TProps & ComponentProps & { children?: TProps['children'] | ShorthandRenderFunction; });