/** * Copyright Zendesk, Inc. * * Use of this source code is governed under the Apache License, Version 2.0 * found at http://www.apache.org/licenses/LICENSE-2.0. */ import { HTMLAttributes, LabelHTMLAttributes } from 'react'; export declare const FieldContext: import("react").Context<{ labelProps?: LabelHTMLAttributes; setLabelProps: (labelProps?: LabelHTMLAttributes) => void; hasHint: boolean; setHasHint: (hasHint: boolean) => void; hintProps?: HTMLAttributes; setHintProps: (hintProps?: HTMLAttributes) => void; hasMessage: boolean; setHasMessage: (hasMessage: boolean) => void; messageProps?: HTMLAttributes; setMessageProps: (messageProps?: HTMLAttributes) => void; } | undefined>; declare const useFieldContext: () => { labelProps?: LabelHTMLAttributes; setLabelProps: (labelProps?: LabelHTMLAttributes) => void; hasHint: boolean; setHasHint: (hasHint: boolean) => void; hintProps?: HTMLAttributes; setHintProps: (hintProps?: HTMLAttributes) => void; hasMessage: boolean; setHasMessage: (hasMessage: boolean) => void; messageProps?: HTMLAttributes; setMessageProps: (messageProps?: HTMLAttributes) => void; }; export default useFieldContext;