export type Disposable = () => void; export declare function hasProperty(context: any, name: string): boolean; export declare function getPropertyDescriptor(context: any, name: string): PropertyDescriptor; /** * PropertyDef is a structure that describes a property of a component. * * insidePropName is the name of the property inside the component, e.g. `value` in `@Input() value: string;` * outsidePropName is the name of the property outside the component, e.g. `value` in `` */ export interface PropertyDef { context: T; dynamicContext: T; hostContext: T; insidePropName: string; outsidePropName: string; } export declare function toPropertyDef(context: T, dynamicContext: T, hostContext: T): (property: { propName: string; templateName: string; }) => PropertyDef; export interface BindingDef extends PropertyDef { defaultDescriptor: PropertyDescriptor; }