import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector } from '@angular/core';
import { AlertOptions } from './alert.model';
import { Observable, Subscription } from 'rxjs';
import { AlertsComponent } from './alerts.component';
import { LayoutControlService } from '../../core/layout-control/layout-control.service';
import * as i0 from "@angular/core";
export declare const DEFAULT_ALERT_LIMIT = 25;
export declare class AlertService {
    private document;
    private platformId;
    private injector;
    private appRef;
    private cfResolver;
    private layoutControl;
    alertRefs: Map<string, ComponentRef<AlertsComponent>>;
    layoutSub: Subscription;
    mobileLayout: boolean;
    alertIndex: number;
    constructor(document: any, platformId: any, injector: Injector, appRef: ApplicationRef, cfResolver: ComponentFactoryResolver, layoutControl: LayoutControlService);
    success(options?: AlertOptions): void;
    error(options?: AlertOptions): void;
    action(options?: AlertOptions): Observable<any>;
    private checkoutLayout;
    showAlert(options?: AlertOptions): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
}
