import { CommonProps } from '../common';
import { PropsWithChildren } from 'react';
export type LabelProps = {
    id?: string;
    htmlFor?: string;
    className?: string;
    children?: React.ReactNode;
};
/**
 * Avoid using `<Label>` component directly
 * it's for edge cases when `<Field />` isn't suitable for some reasons.
 *
 * Example:
 * ```
 * <Field label={..} description={..} required={..}>..</Field>
 * ```
 */
declare const Label: {
    ({ className, children, htmlFor, id }: LabelProps): import("react").JSX.Element;
    Optional({ children, className }: LabelOptionalProps): import("react").JSX.Element;
    Description({ id, children, className }: LabelDescriptionProps): import("react").JSX.Element | null;
};
export type LabelOptionalProps = PropsWithChildren<CommonProps>;
export type LabelDescriptionProps = PropsWithChildren<CommonProps> & {
    id?: string;
};
export { Label };
//# sourceMappingURL=Label.d.ts.map