import { ComponentFactoryResolver, ComponentRef, ElementRef, ChangeDetectorRef } from "@angular/core"; import { DrawerConfig, DrawerService } from "../../service/drawer.service"; import * as i0 from "@angular/core"; type DrawerComponentCache = { ref: ComponentRef; config: DrawerConfig; toolbarEl: HTMLElement; headerEl: HTMLElement; topEl: HTMLElement; }; export declare class DrawerComponent { private resolver; private service; private ref; element: ElementRef; drawer: ElementRef; header: ElementRef; content: ElementRef; toolbarSlot: ElementRef; headerSlot: ElementRef; topSlot: ElementRef; private container; config: DrawerConfig; useAnimation: "yes" | "no"; isOpened: boolean; hiddenDrawer: boolean; private componentRefMap; constructor(resolver: ComponentFactoryResolver, service: DrawerService, ref: ChangeDetectorRef); private createDynamicComponent; private destroyDynamicComponent; private setComponentData; private getSlotElement; private setSlotElement; setCache(cache: DrawerComponentCache): void; setConfig(config: Partial): void; show(component: new (...args: any[]) => T, config: DrawerConfig, data: Record): T; hide(): void; back(): void; deleteCache(cacheKey: string): void; onRouteChange(): void; toggleOpenStatus(isOpen: boolean, useAnimation?: boolean): void; onAnimationEnd(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};