import { BasicCompilationEntity, IBasicEntityProvider, IComponentAttachMap, IComponentInputMap, IComponentPropMap, IDirectiveInputMap, IEwsEntity, IEwsEntityPrivates, IEwsEntityProtectedHooks, IPureObject } from "./base"; import { EntityConstructor } from "./decorators"; import { IInnerComponent } from "./component"; import { IInnerDirective } from "./directive"; import { IInnerComposition } from "./composition"; export interface IBasicChildRef extends IEwsEntity { } export interface IBasicChildRefProtectedHooks extends IEwsEntityProtectedHooks { onInit(): Promise; } export interface IBasicChildRefPrivates { readonly __refId: string; readonly __refConstructor: EntityConstructor; readonly __entityId: string; readonly __options: {}; readonly __provider: IBasicEntityProvider; readonly __parentRef: IInnerCompnentChildRef | undefined; readonly __rootRef: IInnerCompnentChildRef | undefined; readonly __instanceRef: any; } export interface IComponentChildRefPrivates extends IBasicChildRefPrivates, IEwsEntityPrivates<"componentChildRef"> { readonly __options: { input: IComponentInputMap; attach: IComponentAttachMap; props: IComponentPropMap; }; readonly __refComponents: (IInnerCompnentChildRef | IInnerCompositionChildRef)[]; readonly __refDirectives: IInnerDirectiveChildRef[]; readonly __refRequires: ((context: any) => IInnerDirectiveChildRef)[]; readonly __instanceRef: IInnerComponent; } export interface IDirectiveChildRefPrivates extends IBasicChildRefPrivates, IEwsEntityPrivates<"directiveChildRef"> { readonly __options: { input: IDirectiveInputMap; }; readonly __instanceRef: IInnerDirective; } export interface ICompositionChildRefPrivates extends IBasicChildRefPrivates, IEwsEntityPrivates<"compositionChildRef"> { readonly __options: { input: IDirectiveInputMap; }; readonly __refComponents: (IInnerCompnentChildRef | IInnerCompositionChildRef)[]; readonly __instanceRef: IInnerComposition; } export interface IInnerCompnentChildRef extends IBasicChildRef, IComponentChildRefPrivates, IBasicChildRefProtectedHooks { bootstrap(): Promise; } export interface IInnerDirectiveChildRef extends IBasicChildRef, IDirectiveChildRefPrivates, IBasicChildRefProtectedHooks { } export interface IInnerCompositionChildRef extends IBasicChildRef, ICompositionChildRefPrivates, IBasicChildRefProtectedHooks { bootstrap(): Promise; } export declare abstract class BasicChildRef extends BasicCompilationEntity { protected __refId: IBasicChildRefPrivates["__refId"]; protected __refConstructor: IBasicChildRefPrivates["__refConstructor"]; protected __entityId: IBasicChildRefPrivates["__entityId"]; protected __options: IBasicChildRefPrivates["__options"]; protected __provider: IBasicChildRefPrivates["__provider"]; protected __rootRef: IBasicChildRefPrivates["__rootRef"]; protected __parentRef: IBasicChildRefPrivates["__parentRef"]; protected __instanceRef: IBasicChildRefPrivates["__instanceRef"]; constructor(); protected onInit(): Promise; }