/**
 * @jsxRuntime classic
 * @jsx jsx
 */
import { type ReactNode } from 'react';
export interface LabelProps {
    id?: string;
    htmlFor: string;
    children: ReactNode;
    testId?: string;
}
export interface LegendProps {
    children: ReactNode;
}
/**
 * __Label__
 *
 * A label represents a caption for an item in a user interface.
 *
 * It's recommended that a label has a `space.050` spacing above its associated
 * control element.
 */
export declare const Label: ({ children, htmlFor, id, testId }: LabelProps) => JSX.Element;
/**
 * __Legend__
 *
 * A Legend represents a caption for a fieldset in a user interface.
 */
export declare const Legend: ({ children }: LegendProps) => JSX.Element;
