import { FormEditorConfiguration } from "../interfaces"; export declare const IS_DIRTY: unique symbol; export declare const util_isDirty: (item?: any) => any; export declare const util_setDirty: (item: any) => any; export declare const util_setClean: (item: any) => any; export declare const ERROR_INFO: unique symbol; export declare const util_clearError: (item?: any) => any; export declare const util_setError: (item: T, error: any) => T; export declare const util_setFieldError: (item: T, field: string, error: string | undefined) => T; export declare const util_setGenericError: (item: T, errorMessage: string, blocking?: boolean | undefined) => T; export declare const util_getError: (item?: T | undefined) => { rawData: {}; errCount: number; hasError: boolean; hasBlockingError: any; asList: () => { key: string; value: any; }[]; hasErrorOnField: (fieldName: keyof T) => boolean; }; export declare const validate: (value: T | undefined, cfg: FormEditorConfiguration) => T; export declare const relayError: (handler: (error: string) => void) => (error: string) => void; export declare let util_debug: (...msg: any[]) => void; export declare const setDebugMode: (value: boolean) => void;