import { ApiBase } from '../Implementation/ApiBase';
import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
export class SystemStatusInternalApi extends ApiBase {
    addSystemStatusMessageInfo(systemStatusMessageInfo) {
        const maxMessagesInStore = this.getNotificationsOptions().maxSystemMessagesInStore;
        this.dispatchAction(InternalRedux.SystemStatusMessageInfoAdd(systemStatusMessageInfo, maxMessagesInStore));
    }
    getSystemStatusMessageInfos() {
        return this.getAdaptableState().Internal.SystemStatusMessages;
    }
}
