import { Component, Scope } from "../../../typing";
import { ComponentLifeCycle } from "../../component/component-lifecycle";
import { Container, Middleware } from "../container/container";
/**
 * Create the ComponentActivator for each sub components of a component.
 * Prepare the sub-component to be enabled/disabled with his container.
 */
export declare class SubComponentMiddleware implements Middleware {
    private componentLifeCycle;
    private contextScope;
    get inherit(): boolean;
    constructor(componentLifeCycle: ComponentLifeCycle, contextScope: Scope);
    onPreConstruct(): void;
    onPostConstruct(instance: Component, container: Container): Component;
    onError(errorMsg: string): void;
}
