import type { FieldAtom } from "form-atoms"; import { MouseEventHandler, PropsWithChildren, ReactNode } from "react"; type ChildrenProps = PropsWithChildren<{ htmlFor: string; onMouseDown: MouseEventHandler; }>; type FieldLabelProps> = { field: Field; label: ReactNode; children?: (props: ChildrenProps) => React.ReactElement; }; /** * Renders an accessible label controlling the field's input. * @deprecated The atomKey is not suitable for input/label pairing as it does not support SSR. Moreover the onMouseDown is UX feature, not a logic concern for a field. */ export declare const FieldLabel: >({ field, label, children, }: FieldLabelProps) => import("react").ReactElement>; export {};