import type { ReactNode } from 'react'; /** The label / description / error trio shared by every form control. */ export interface FieldOwnProps { /** Visible label, associated with the control. */ label?: ReactNode; /** Help text under the control, linked via `aria-describedby`. */ description?: ReactNode; /** * Marks the control invalid (`aria-invalid`). A message replaces the * description; `true` marks it invalid and keeps the description. */ error?: ReactNode | boolean; } export type FieldSize = 'sm' | 'md' | 'lg'; export interface FieldShellProps { id: string; label?: ReactNode; required?: boolean; message?: ReactNode; messageId?: string; isError: boolean; invalid: boolean; disabled?: boolean; size: FieldSize; className?: string; children: ReactNode; } /** Wrapper rendering label → control → message with the shared `nbc-field` hooks. */ export declare function FieldShell({ id, label, required, message, messageId, isError, invalid, disabled, size, className, children, }: FieldShellProps): import("react").JSX.Element;