import React, { ReactNode, Ref } 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];
export declare let Label: (<TTag extends React.ElementType<any> = "label">(props: Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "id" | "children" | "className" | "as" | "refName">> & {
    as?: TTag | undefined;
    children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: {}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
    refName?: string | undefined;
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
    className?: import("../../types").PropsOf<TTag>["className"] | ((bag: {}) => string) | undefined;
} : {}) & {
    passive?: boolean | undefined;
}, ref: Ref<HTMLLabelElement>) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null) & {
    displayName: string;
};
export {};
