import { EditorProperty } from "@iplusplus/y-model"; export declare const undefined_number: number; export declare function checkCanEdit(p: EditorProperty, isInAdd?: boolean): boolean; type CheckResult = { value: unknown; isValid: boolean; }; export declare const CanBeUndefined = "CanBeUndefined"; export declare const undefinedNumberValueType: { defaultValue: number; dataTypeName: "number"; validate(value: number): boolean; getDefaultValue(): number; _descr: string | undefined; _attach: Record; description: (d: string | undefined) => /*elided*/ any; getDescription: () => string | undefined; attach: (key: string, payload: any) => /*elided*/ any; getAttach: (key: string) => any; }; export declare const createUndefineNumberValueType: () => { defaultValue: number; dataTypeName: "number"; validate(value: number): boolean; getDefaultValue(): number; _descr: string | undefined; _attach: Record; description: (d: string | undefined) => /*elided*/ any; getDescription: () => string | undefined; attach: (key: string, payload: any) => /*elided*/ any; getAttach: (key: string) => any; }; export declare function ignoreUndefined(v: T | undefined): T; export declare function checkValidValue(p: EditorProperty, value: unknown): CheckResult; export {};