import { default as React } from 'react'; import { ErrorListProps, ErrorSchema, WidgetProps } from '@rjsf/utils'; import { ExtendedFormProps } from '../types'; type Metadata = Pick; type Path = string[]; type Settings = Pick; type TimingContext = { register: (metadata: Metadata) => () => void; touch: (metadata: Metadata, changing: boolean) => void; request: (metadata: Metadata) => void; errors: (metadata: Metadata, rawErrors: string[]) => string[]; hiddenPaths: Path[]; }; export declare const URLBlurValidationContext: React.Context; export declare function useURLBlurValidationRoot(settings: Settings): { acceptChange: (data: unknown, rootErrors?: ErrorSchema) => void; value: { register: (metadata: Metadata) => () => void; touch: (metadata: Metadata, changing: boolean) => void; request: (metadata: Metadata) => void; errors: (metadata: Metadata, rawErrors: string[]) => string[]; hiddenPaths: Path[]; }; }; export declare function useURLBlurValidation(props: WidgetProps, urlPresentation?: boolean): { enabled: boolean; messages: string[]; change: () => void; blur: (changing?: boolean) => void; }; export declare function URLBlurFeedback({ id, messages, hideError }: { id: string; messages: string[]; hideError?: boolean; }): import("react/jsx-runtime").JSX.Element | null; export declare function withURLBlurErrorList(Template: React.ComponentType): (props: ErrorListProps) => import("react/jsx-runtime").JSX.Element | null; export {};