import { ValidatorType, ValidatorRuleType } from '@lingxiteam/dsl'; import { InitialEditorConfigFnReturn } from '../interface'; export declare const whiteListMap: { props: { pc: { Dropdown: { icon: string[]; }; Menu: { icon: string[]; }; RemoteComponent: { fileCode: string[]; }; Form: { relationDataSource: string[]; }; Button: { type: string[]; }; Table: { extend: string[]; columns: string[]; }; TreeTable: { extend: string[]; }; SuperSelect: { sourceData: string[]; }; }; h5: { RemoteComponent: { fileCode: string[]; }; DForm: { relationDataSource: string[]; }; Image: { columns: string[]; }; DformFile: { columns: string[]; }; DformImagePicker: { columns: string[]; }; Signature: { columns: string[]; }; DGroup: { extend: string[]; }; }; }; style: { pc: {}; h5: {}; }; }; export interface ExcludeRulesType { props?: (...e: Parameters['props']>) => boolean; style?: (...e: Parameters['props']>) => boolean; } export declare const getDefaultValidator: (config: { isMobile?: boolean; platformType?: any; }, ctx: { cacheValuePropNameRef?: any; excludeRules?: ExcludeRulesType; }) => ValidatorType; declare const useValidator: (config: InitialEditorConfigFnReturn) => { validators: ValidatorType; cacheValuePropName: (valuePropsName: string, type: string) => void; }; export default useValidator;