/**
 * Global messages component for displaying global messages. Takes in an array of messages.
 *
 * @export
 */
export declare class GlobalMessagesComponent {
    /**
     * The array of messages to show.
     * @memberof GlobalMessagesComponent
     */
    messages: Message[];
    constructor();
    /**
     * Determines if there are any messages to show by checking the array has some messages in it.
     *
     * @returns true if there are some messages, false otherwise
     * @memberof GlobalMessagesComponent
     */
    hasMessages(): boolean;
    /**
     * Closes a message, essentially by removing it from the array of messages.
     *
     * @param index the index position of the message to close
     * @memberof GlobalMessagesComponent
     */
    closeMessage(index: number): void;
}
/**
 * Interface to describe the properties a notification message should have.
 */
export interface Message {
    /** Severity, these match the class names of Bulma notifications, without the is- at the beginning. */
    severity: 'danger' | 'warning' | 'info' | 'success' | 'link' | 'primary';
    /** Heading of the message, this is optional. */
    heading?: string;
    /** The text of the message, this is optional. Can contain standard HTML code but not any Angular code. */
    summary?: string;
    /** Whether the message is closable. */
    closable: boolean;
}
/**
 * Global messages module providing anything to do with global messages.
 *
 * @export
 */
export declare class GlobalMessagesModule {
}
