import { type VariantProps } from "class-variance-authority";
import type { ComponentProps, HTMLAttributes } from "react";
import { Label } from "@/components/ui/label";
type FieldOrientation = "vertical" | "horizontal" | "responsive";
type FieldLegendVariant = "legend" | "label";
type FieldErrorItem = {
    message?: string;
} | undefined;
type FieldLegendProps = HTMLAttributes<HTMLLegendElement> & {
    className?: string;
    variant?: FieldLegendVariant;
};
type FieldProps = HTMLAttributes<HTMLDivElement> & {
    className?: string;
    orientation?: FieldOrientation;
};
type FieldErrorProps = HTMLAttributes<HTMLDivElement> & {
    className?: string;
    children?: React.ReactNode;
    errors?: FieldErrorItem[];
};
declare const FieldSet: ({ className, ...props }: HTMLAttributes<HTMLFieldSetElement>) => import("react/jsx-runtime").JSX.Element;
declare const FieldLegend: ({ className, variant, ...props }: FieldLegendProps) => import("react/jsx-runtime").JSX.Element;
declare const FieldGroup: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
declare const fieldVariants: (props?: ({
    orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
declare const Field: ({ className, orientation, ...props }: FieldProps & VariantProps<typeof fieldVariants>) => import("react/jsx-runtime").JSX.Element;
declare const FieldContent: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
declare const FieldLabel: ({ className, ...props }: ComponentProps<typeof Label>) => import("react/jsx-runtime").JSX.Element;
declare const FieldTitle: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
declare const FieldDescription: ({ className, ...props }: HTMLAttributes<HTMLParagraphElement>) => import("react/jsx-runtime").JSX.Element;
declare const FieldSeparator: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
declare const FieldError: ({ className, children, errors, ...props }: FieldErrorProps) => import("react/jsx-runtime").JSX.Element | null;
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, };
export type { FieldErrorItem, FieldErrorProps, FieldLegendProps, FieldLegendVariant, FieldOrientation, FieldProps };
//# sourceMappingURL=field.d.ts.map