/// <reference types="react" />
export interface Props {
    /** Label content */
    children?: string;
    /** A unique identifier for the label */
    id: string;
    /** Visually hide the label */
    hidden?: boolean;
    /** Is an optional field */
    optional?: boolean;
}
export declare function labelID(id: string): string;
export default function Label({ children, id, hidden, optional }: Props): JSX.Element;
