/** * convenience function to supply a default value if the given value is not specified */ export declare function _default(value: T, defaultValue: T): T; export declare function isAssignableFrom(entryType: any, assignableTo: any): boolean; /** * a function called on an object instance that will return the desired property value */ export interface ReadMethod { (): Type; } /** * a function called on an object instance that will set the desired property value */ export interface WriteMethod { (value: Type): void; } /** * parameters used to create a PropertyDescriptor */ export interface PropertyDescriptorParams { type: any; read: ReadMethod; write: WriteMethod; } /** * an interface to read and write a value into an object */ export declare abstract class PropertyDescriptor { private propertyType; private readMethod; private writeMethod; constructor(params: PropertyDescriptorParams); getPropertyType(): any; getReadMethod(): ReadMethod; getWriteMethod(): WriteMethod; }