import { FormElementOptions } from "../interface/form"; interface PropertyOptions { default?: any; condition?: ConditionResolvable; exposed?: boolean; export?: boolean; copy_value?: boolean; description?: string; placeholder?: string; label?: string; /** * Options used for select types */ options?: any; /** * Enum possible values */ values?: string[]; merge?(instance: any, data: any): void; reset?(instance: any): void; merge_validation?(value: any): boolean; inputs?: { [key: 'element_panel' | 'dialog' | string]: { input: FormElementOptions; shared?: boolean; onChange?: (value: any, nodes: OutlinerNode[]) => void; }; }; } interface IPropertyType { string: string; enum: string; molang: string; number: number; boolean: boolean; array: any[]; object: any; instance: any; vector: ArrayVector3; vector2: ArrayVector2; vector4: ArrayVector2; } /** * Creates a new property on the specified target class */ export declare class Property implements Deletable { class: any; name: string; type: T; default: IPropertyType[T]; export?: boolean; isString: boolean; isEnum: boolean; isMolang: boolean; isNumber: boolean; isBoolean: boolean; isArray: boolean; isVector: boolean; isVector2: boolean; isObject: boolean; isInstance: boolean; enum_values?: string[]; merge_validation: undefined | ((value: IPropertyType[T]) => boolean); condition: ConditionResolvable; exposed: boolean; label: any; inputs?: any; copy_value?: boolean; description?: string; placeholder?: string; options?: Record; constructor(target_class: any, type: T, name: string, options?: PropertyOptions); delete(): void; getDefault(instance: IPropertyType[T]): IPropertyType[T]; merge(instance: IPropertyType[T], data: IPropertyType[T]): void; copy(instance: IPropertyType[T], target: IPropertyType[T]): void; reset(instance: IPropertyType[T], force?: boolean): void; static resetUniqueValues: (type: any, instance: any) => void; } declare const global: { Property: typeof import("./property").Property; }; declare global { const Property: typeof global.Property; type Property = import('./property').Property; } export {};