import { ElementRef, OnInit, AfterViewInit, OnDestroy, TemplateRef } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { DeviceDetectorService } from 'ngx-device-detector';
import { MatBottomSheet } from '@angular/material/bottom-sheet';
export declare class ModalControl implements OnInit, AfterViewInit, OnDestroy {
    private dialog;
    private bottomSheet;
    static index: number;
    templateRef: TemplateRef<any>;
    title: string;
    type: 'primary' | 'info' | 'success' | 'warning' | 'danger';
    width: 'md' | 'sm' | string;
    height: string;
    modal: ElementRef;
    isOpened: boolean;
    isMobileOrTablet: boolean;
    private bottomSheetRef;
    private dialogRef;
    constructor(dialog: MatDialog, bottomSheet: MatBottomSheet, deviceService: DeviceDetectorService);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    open: () => void;
    close: () => void;
}
