* // Individual module import
* import { ToastNotificationModule } from 'patternfly-ng/notification';
* // Or
* import { ToastNotificationModule } from 'patternfly-ng';
*
* // NGX Bootstrap
* import { BsDropdownConfig, BsDropdownModule } from 'ngx-bootstrap/dropdown';
*
* @NgModule({
* imports: [ToastNotificationModule, BsDropdownModule.forRoot(),...],
* providers: [BsDropdownConfig]
* })
* export class AppModule(){}
*
*
* Optional:
*
* import { Notification, NotificationEvent, NotificationType } from 'patternfly-ng/notification';
*
*/
export declare class ToastNotificationComponent implements DoCheck, OnInit {
/**
* The notification header
*/
header: string;
/**
* The notification message
*/
message: string;
/**
* The notification kebab actions
*/
moreActions: Action[];
/**
* An object containing notifications properties
*/
notification: Notification;
/**
* The primary action
*/
primaryAction: Action;
/**
* Set to true to show close button
*/
showClose: boolean;
/**
* The notification type (e.g., NotificationType.SUCCESS, NotificationType.INFO, etc.)
*/
type: string;
/**
* The event emitted when an action has been selected
*/
onActionSelect: EventEmitter<{}>;
/**
* The event emitted when the close button has been selected
*/
onCloseSelect: EventEmitter<{}>;
/**
* The event emitted when the mouse hovers over and leaves a notification
*/
onViewingChange: EventEmitter<{}>;
private _showCloseButton;
/**
* The default constructor
*/
constructor();
/**
* Setup component configuration upon initialization
*/
ngOnInit(): void;
/**
* Check if the component config has changed
*/
ngDoCheck(): void;
/**
* Get the flag indicating that the close button should be shown
*
* @returns {FilterField} The flag indicating that the close button should be shown
*/
readonly showCloseButton: boolean;
handleEnter($event: MouseEvent): void;
handleLeave($event: MouseEvent): void;
private handleAction;
private handleClose;
}