import { default as React } from 'react'; import { default as Form, FormProps } from '@rjsf/core'; import { ErrorSchema, FieldPathList, RJSFValidationError } from '@rjsf/utils'; type OwnedError = { message: string; messages: Set; path?: FieldPathList; retired?: boolean; schemaErrors?: ErrorSchema; validationOwned?: { schemaOwned?: boolean; }; }; type ErrorOwner = { setError: (id: string, message: string, validationOwned?: OwnedError['validationOwned']) => void; remove: (id: string) => void; getErrors: (id: string) => RJSFValidationError[]; }; export declare const useRJSF611WidgetErrorOwner: () => ErrorOwner | undefined; /** Internal Wizard snapshot; ordinary validation belongs in RJSF state, not extraErrors. */ export declare const WizardValidationContext: React.Context<{ validation: Pick; reveal: boolean; } | undefined>; export interface RJSF611ErrorStateAdapterProps { children: React.ReactElement; /** Same constraints as the child's customValidate, without lifecycle notifications. */ customValidate?: FormProps['customValidate']; } /** * RJSF 6.11 compatibility boundary for EDF widget-owned errors in native Forms. * Keeps its error list/tree consistent without changing RJSF or liveValidate. * Reproduction: T6/out/evidence/upstream-only-error-reset.{tsx,log}. */ export declare function RJSF611ErrorStateAdapter({ children, customValidate }: RJSF611ErrorStateAdapterProps): import("react/jsx-runtime").JSX.Element; export {};