import { type DialogConfig, type DialogRef } from '@angular/cdk/dialog'; import type { ComponentType } from '@angular/cdk/portal'; import { TemplateRef } from '@angular/core'; import type { KDrawerConfig, KDrawerRef } from './components/drawer/drawer'; import { KAlertModalComponent } from './components/alert-modal/alert-modal.component'; import { KALERT_MODAL_RESULT, type KAlertConfig } from './components/alert-modal/alert-modal.model'; import * as i0 from "@angular/core"; export declare class KModalService { private readonly destroyRef; private readonly dialog; private readonly overlay; open(component: ComponentType | TemplateRef, config?: DialogConfig>): DialogRef; /** * Opens a new drawer, using `component` as the content. * Closes the previously opened drawer. * @param component A component class or a template reference for content * @param title Drawer heading * @param config Drawer parameters */ openDrawer(component: ComponentType | TemplateRef, title: string, config?: KDrawerConfig): KDrawerRef; openAlert(config: KAlertConfig): DialogRef; closeAll(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }