import { DrawerService, DynamicDrawerConfigInterface } from '@masterteam/components/dynamic-drawer'; import { DialogService, DynamicDialogConfig, DynamicDialogRef } from '@masterteam/components/dialog'; import * as i0 from '@angular/core'; declare class ModalService { readonly drawerService: DrawerService; readonly dialogService: DialogService; private readonly doc; private readonly openRefs; footerClass: string; contentClass: string; modalConfig: any; openModal(component: any, modalType: 'drawer' | 'dialog', config: DynamicDialogConfig | DynamicDrawerConfigInterface): DynamicDialogRef; /** * Closes every modal/drawer opened through this service. * Useful on session expiry, forced logout, or any global reset * where leftover popups would confuse the user. */ closeAll(): void; handelStartEndPosition(position: string | undefined): string; private resolveCurrentDirection; private readDirectionAttribute; private readComputedDirection; private normalizeDirection; private trackRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { ModalService };