import { ChangeDetectorRef, ElementRef, Injector, OnDestroy } from '@angular/core';
import { StylableComponent } from '@wm/components/base';
import * as i0 from "@angular/core";
export declare class PrefabDirective extends StylableComponent implements OnDestroy {
    widgetType: string;
    prefabName: string;
    name: string;
    propsReady: Function;
    constructor(inj: Injector, elRef: ElementRef, cdr: ChangeDetectorRef, prefabName: any, explicitContext: any);
    onStyleChange(key: string, nv: any, ov: any): void;
    setProps(config: any): void;
    protected handleEvent(): void;
    private prepareProps;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<PrefabDirective, [null, null, null, { attribute: "prefabname"; }, { optional: true; }]>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<PrefabDirective, "section[wmPrefab]", never, {}, {}, never, never, false, never>;
}
