import React, { ElementType, ReactNode, Ref } from 'react'; import { Props } from '../../types.js'; import { HasDisplayName, RefProp } from '../../utils/render.js'; 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"; export type LabelProps = Props & { passive?: boolean; }; declare function LabelFn(props: LabelProps, ref: Ref): React.ReactElement> | null; export interface ComponentLabel extends HasDisplayName { (props: LabelProps & RefProp): JSX.Element; } export declare let Label: ComponentLabel; export {};