import { default as React, PropsWithChildren } from 'react';
import { FormLabelProps } from './FormLabel';
export type LabeledElementProps = {
    /**
     * The text to display for the label.
     */
    label: string | React.ReactElement;
    /**
     * Optional ID of the element associated with the label.
     */
    htmlFor?: string;
    /**
     * Additional props for the FormLabel, excluding children and htmlFor.
     */
    labelProps?: Omit<FormLabelProps, 'children'>;
    /**
     * If true, removes the bottom margin from the label.
     *
     * @default false
     */
    noGap?: boolean;
    /**
     * Additional classes for styling the wrapper.
     */
    className?: string;
};
declare const LabeledElement: (props: PropsWithChildren<LabeledElementProps>) => import("react/jsx-runtime").JSX.Element;
export default LabeledElement;
