import type { IDeepReadonly, IObjectAny, IPath } from '../typings/common'; import type { ICore, IOpenFunctionValidatorResult, IOpenValidateResult, IOpenValidatorParams, IRenderer } from '../typings/core'; import type { IRootContext } from '../typings/rootContext'; import type { ISchema } from '../typings/schema'; export type IValidateRootSchemaParams = Required>; export declare function validateRootSchema({ rootSchema, rootValue, disabled, readonly, locale, renderers, rendererStorage, validators, userCtx, }: IValidateRootSchemaParams): Promise; export interface IValidateFormItemParams extends IComposeSchemaRules { value: any; globalValidators: ICore['validators']; rendererValidator: IRenderer['validator']; rendererValidatorParams: IOpenValidatorParams; } export declare function validateFormItem({ schema, rootValue, userCtx, path, locale, value, globalValidators, rendererValidator, rendererValidatorParams, }: IValidateFormItemParams): Promise; export interface IComposeSchemaRules { schema: ISchema | IDeepReadonly; rootValue: IObjectAny; path: IPath; locale: IRootContext['locale']; userCtx: IObjectAny | undefined; } type IMakeOpenValidatorParams = Omit; export declare function makeOpenValidatorParams({ schema, value, path, disabled, readonly, rootValue, locale, userCtx, }: IMakeOpenValidatorParams): IOpenValidatorParams; export {};