import ts from "typescript"; import { Injector } from "@bonbons/di"; import { EntityConstructor, ICompositeChildRefPluginOptions, ICompositionCreateOptions, IDynamicRefPluginOptions, IInnerCompositionChildRef, IInnerSolidEntity, ISourceBuildOptions, ReconcilerEngine } from "../../core"; import { IBasicEntityProvider, ICompChildRefPluginOptions, IComponentCreateOptions, IDirecChildRefPluginOptions, IDirectiveCreateOptions, IInnerCompnentChildRef, IInnerDirectiveChildRef, SourceFileContext } from "../../core"; import { GlobalMap } from "../global-map"; import { BasicDirectiveChildRef } from "../entities"; export declare class SourceFileBasicContext extends SourceFileContext { readonly reconciler: ReconcilerEngine; protected readonly injector: Injector; private globalMap; private uniqueList; constructor(reconciler: ReconcilerEngine, injector: Injector, globalMap: GlobalMap); getDefaultEntityId(entity: IInnerSolidEntity): string; setProvider(provider: string): this; importComponents(components: IComponentCreateOptions[]): this; importDirectives(directives: IDirectiveCreateOptions[]): this; importCompositions(compositions: ICompositionCreateOptions[]): this; build(options?: Partial): this; getDependencies(): Record; createRoot(options: ICompChildRefPluginOptions, slot?: string): this; callCompilation(): Promise; private createContextTreeNodes; private emitScopedStatements; private callStatementsHooks; createSourceFile(): Promise; protected createComponentRef(options: IDynamicRefPluginOptions, parent?: IInnerCompnentChildRef): IInnerCompositionChildRef | IInnerCompnentChildRef; protected createDirectiveRef(options: IDirecChildRefPluginOptions, parent?: IInnerCompnentChildRef): IInnerDirectiveChildRef; protected createCompositionRef(options: ICompositeChildRefPluginOptions, parent?: IInnerCompnentChildRef): IInnerCompositionChildRef; private getEntity; private _setComponentOrCompositionChildren; private _resolveComponentRequires; private _resolveDependencies; private _resolveEntityDepts; private _checkCreateId; private _resolveMetadataOfEntity; } export declare function setBaseChildRefInfo(context: SourceFileContext, ref: BasicDirectiveChildRef, options: IDirecChildRefPluginOptions, template: EntityConstructor, parent?: IInnerCompnentChildRef): BasicDirectiveChildRef;