import React, { ElementType, ReactNode } from 'react'; import { Props } from '../../types'; interface SharedData { slot?: {}; name?: string; props?: {}; } interface LabelProviderProps extends SharedData { children: ReactNode; } export declare function useLabels(): [string | undefined, (props: LabelProviderProps) => JSX.Element]; declare let DEFAULT_LABEL_TAG: "label"; interface LabelRenderPropArg { } declare type LabelPropsWeControl = 'id'; export declare function Label(props: Props & { passive?: boolean; }): React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null; export {};