import { BaseStyleProps } from "../../style/dist/keystar-ui-style.cjs.js";
import { ForwardRefExoticComponent, HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
type FieldPrimitiveProps = {
    children: ReactElement;
    isRequired?: boolean;
    label?: ReactNode;
    labelProps?: HTMLAttributes<HTMLElement>;
    description?: ReactNode;
    descriptionProps?: HTMLAttributes<HTMLElement>;
    errorMessage?: ReactNode;
    errorMessageProps?: HTMLAttributes<HTMLElement>;
    /**
     * For controls that DO NOT use a semantic element for user input. In these
     * cases the "required" state would not otherwise be announced to users of
     * assistive technology.
     */
    supplementRequiredState?: boolean;
} & BaseStyleProps;
/**
 * Provides the accessibility implementation for input fields. Fields accept
 * user input, gain context from their label, and may display a description or
 * error message.
 */
export declare const FieldPrimitive: ForwardRefExoticComponent<FieldPrimitiveProps & {
    ref?: Ref<HTMLDivElement>;
}>;
export {};
