import type { Definition, NumberDefinition, ArrayDefinition, BooleanDefinition, StringDefinition, ObjectDefinition, ObjectPropertyDefinition } from 'roosterjs-editor-types'; /** * Create a number definition * @param isOptional Whether this property is optional * @param value Optional value of the number * @param minValue Optional minimum value * @param maxValue Optional maximum value * @param allowNull Allow the property to be null * @returns The number definition object */ export declare function createNumberDefinition(isOptional?: boolean, value?: number, minValue?: number, maxValue?: number, allowNull?: boolean): NumberDefinition; /** * Create a boolean definition * @param isOptional Whether this property is optional * @param value Optional expected boolean value * @param allowNull Allow the property to be null * @returns The boolean definition object */ export declare function createBooleanDefinition(isOptional?: boolean, value?: boolean, allowNull?: boolean): BooleanDefinition; /** * Create a string definition * @param isOptional Whether this property is optional * @param value Optional expected string value * @param allowNull Allow the property to be null * @returns The string definition object */ export declare function createStringDefinition(isOptional?: boolean, value?: string, allowNull?: boolean): StringDefinition; /** * Create an array definition * @param itemDef Definition of each item of the related array * @param isOptional Whether this property is optional * @param allowNull Allow the property to be null * @returns The array definition object */ export declare function createArrayDefinition(itemDef: Definition, isOptional?: boolean, minLength?: number, maxLength?: number, allowNull?: boolean): ArrayDefinition; /** * Create an object definition * @param propertyDef Definition of each property of the related object * @param isOptional Whether this property is optional * @param allowNull Allow the property to be null * @returns The object definition object */ export declare function createObjectDefinition(propertyDef: ObjectPropertyDefinition, isOptional?: boolean, allowNull?: boolean): ObjectDefinition;