import { Observable } from 'rxjs'; import { AlertOptions, AlertResult } from './types'; import { LayerService } from '../layer/index'; export declare class AlertService { private layerService; constructor(layerService: LayerService); alert(text: string, opts?: AlertOptions): Observable; info(text: string, opts?: AlertOptions): Observable; success(text: string, opts?: AlertOptions): Observable; warning(text: string, opts?: AlertOptions): Observable; error(text: string, opts?: AlertOptions): Observable; question(text: string, opts?: AlertOptions): Observable; open(...opts: AlertOptions[]): Observable; }