import { InternalNamePath, NamePath } from '@/types/types'; export declare type ModelObj = Record; export declare type ObjFunType = (state?: NamePath[], clear?: boolean, force?: boolean) => Promise; export declare type ValidateFailType = { name: InternalNamePath; errors: string[]; }; export default class ValidateObserver { subs: { [key: string]: ObjFunType; }; point: number; dispatch: (state?: NamePath[], clear?: boolean, values?: {}) => Promise; subscribe: (fun: ObjFunType) => () => void; }