import type { StandardSchemaV1 } from '@standard-schema/spec'; import type { Struct } from 'superstruct'; import type { FormSchema, ValidateReturnSchema } from '../types/form'; export declare function isSuperStructSchema(schema: any): schema is Struct; export declare function isStandardSchema(schema: any): schema is StandardSchemaV1; export declare function validateStandardSchema(state: any, schema: StandardSchemaV1): Promise>; export declare function validateSchema(state: T, schema: FormSchema): Promise>; export declare function getAtPath(data: T, path?: string): any; export declare function setAtPath(data: T, path: string, value: any): T;