import { ElementRef } from '@angular/core'; import { BComponent, DisplayType } from '../bcomponent'; export declare class AlertBase extends BComponent { text: string; dismissible: boolean; hidden: boolean; type: DisplayType; constructor(el?: ElementRef); Initialize: (text?: string, dismissible?: boolean, hidden?: boolean, type?: "default" | "primary" | "success" | "info" | "warning" | "danger") => this; ngAfterChildViewInit: () => void; ngOnChildChanges: () => void; /** * Show an alert that self dismisses * @param {number} ms - Number of milliseconds to show * @param {function?} showAnimation - Custom show animation * @param {function?} hideAnimation - Custom hide animation * @memberOf AlertBase */ showDismissing: (ms: number, showAnimation?: () => void, hideAnimation?: () => void) => void; hasText: () => boolean; } export declare class AlertBComponent extends AlertBase { constructor(); } export declare class AlertBDirective extends AlertBase { constructor(el: ElementRef); }