import { Acl } from './acl'; import { LimeType } from './limetype'; export interface LimeProperty { acl: Acl; defaultvalue: any; fieldorder: number; has_sql?: boolean; label: string; length?: number; localname: string; name: string; required: boolean; type: PropertyType; options?: Option[]; relation?: { getLimetype: () => LimeType; getBackreference: () => LimeProperty; }; } export interface Option { key: string; inactive: boolean; text: string; order?: number; id?: number; } export declare type PropertyType = 'string' | 'text' | 'phone' | 'integer' | 'decimal' | 'percent' | 'time' | 'timeofday' | 'date' | 'year' | 'quarter' | 'month' | 'yesno' | 'link' | 'user' | 'xml' | 'option' | 'set' | 'file' | 'hasone' | 'hasmany' | 'belongsto' | 'hasandbelongstomany' | 'system'; export declare function isRelation(property: LimeProperty): boolean; export declare function isSingleRelation(property: LimeProperty): boolean; export declare function isDate(property: LimeProperty): boolean; export declare function isString(property: LimeProperty): boolean; export declare function isFloat(property: LimeProperty): boolean;