import { type ReactNode } from 'react'; import { View, type ViewProps } from 'react-native'; import { type FieldLabelProps as FieldLabelPrimitiveProps, type FieldRootProps as FieldRootPrimitiveProps } from '@cdx-ui/primitives'; import { type FieldErrorVariantProps, type FieldHelperVariantProps, type FieldLabelVariantProps, type FieldRootVariantProps } from './styles'; /** * Field wrapper + context. For **initial focus**, pass `autoFocus` on `Input.Field` (not here). */ export interface FieldRootProps extends FieldRootPrimitiveProps, FieldRootVariantProps { } declare const FieldRoot: import("react").ForwardRefExoticComponent>; export interface FieldLabelProps extends FieldLabelPrimitiveProps, FieldLabelVariantProps { } declare const FieldLabel: import("react").ForwardRefExoticComponent>; export interface FieldHelperProps extends ViewProps, FieldHelperVariantProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const FieldHelper: import("react").ForwardRefExoticComponent>; export interface FieldErrorProps extends ViewProps, FieldErrorVariantProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const FieldError: import("react").ForwardRefExoticComponent>; type FieldCompoundComponent = typeof FieldRoot & { Label: typeof FieldLabel; Helper: typeof FieldHelper; Error: typeof FieldError; }; export declare const Field: FieldCompoundComponent; export {}; //# sourceMappingURL=index.d.ts.map