import { Alignment, DOMRef, NecessityIndicator } from '@react-types/shared';
import { StyleProps, UnsafeStyles } from './style-utils';
import { FieldErrorProps } from 'react-aria-components/FieldError';
import { ReactNode } from 'react';
import { GroupProps } from 'react-aria-components/Group';
import { LabelProps } from 'react-aria-components/Label';
import { InputProps as RACInputProps } from 'react-aria-components/Input';
import { StyleString } from '../style/types';
interface FieldLabelProps extends Omit<LabelProps, 'className' | 'style' | 'render' | 'children'>, StyleProps {
    isDisabled?: boolean;
    isRequired?: boolean;
    size?: 'S' | 'M' | 'L' | 'XL';
    necessityIndicator?: NecessityIndicator;
    labelAlign?: Alignment;
    labelPosition?: 'top' | 'side';
    includeNecessityIndicatorInAccessibilityName?: boolean;
    staticColor?: 'white' | 'black' | 'auto';
    contextualHelp?: ReactNode;
    isQuiet?: boolean;
    children?: ReactNode;
}
export declare const FieldLabel: import("react").ForwardRefExoticComponent<FieldLabelProps & import("react").RefAttributes<import("@react-types/shared").DOMRefValue<HTMLLabelElement>>>;
interface FieldGroupProps extends Omit<GroupProps, 'className' | 'style' | 'render' | 'children'>, UnsafeStyles {
    size?: 'S' | 'M' | 'L' | 'XL';
    children: ReactNode;
    styles?: StyleString;
    shouldTurnOffFocusRing?: boolean;
}
export declare const FieldGroup: import("react").ForwardRefExoticComponent<FieldGroupProps & import("react").RefAttributes<HTMLDivElement>>;
export interface InputProps extends Omit<RACInputProps, 'className' | 'style' | 'render'>, StyleProps {
}
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
interface HelpTextProps extends FieldErrorProps {
    size?: 'S' | 'M' | 'L' | 'XL';
    isDisabled?: boolean;
    isInvalid?: boolean;
    description?: ReactNode;
    showErrorIcon?: boolean;
}
export declare const helpTextStyles: (props: {
    isDisabled: boolean | undefined;
    isInvalid: boolean | undefined;
    size: "L" | "S" | "XL" | "XS" | undefined;
} | {
    [x: string]: any;
}) => StyleString<"--iconPrimary" | "alignItems" | "color" | "contain" | "cursor" | "display" | "font" | "gap" | "gridArea" | "paddingTop">;
export declare function HelpText(props: HelpTextProps & {
    descriptionRef?: DOMRef<HTMLDivElement>;
    errorRef?: DOMRef<HTMLDivElement>;
}): ReactNode;
export declare function FieldErrorIcon(props: {
    isDisabled?: boolean;
}): ReactNode;
export {};
