/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
 */
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs';
/** @enum {number} */
var NotifyType = {
    Default: 0,
    Primary: 1,
    Info: 2,
    Warning: 3,
    Success: 4,
    Danger: 5,
};
export { NotifyType };
NotifyType[NotifyType.Default] = 'Default';
NotifyType[NotifyType.Primary] = 'Primary';
NotifyType[NotifyType.Info] = 'Info';
NotifyType[NotifyType.Warning] = 'Warning';
NotifyType[NotifyType.Success] = 'Success';
NotifyType[NotifyType.Danger] = 'Danger';
/**
 * @record
 */
export function NotifyConfig() { }
/** @type {?} */
NotifyConfig.prototype.content;
/** @type {?|undefined} */
NotifyConfig.prototype.autoHide;
/** @type {?|undefined} */
NotifyConfig.prototype.type;
/** @type {?|undefined} */
NotifyConfig.prototype.time;
var NotifyController = /** @class */ (function () {
    function NotifyController() {
        this.notifySource = new Subject();
        this.notify = this.notifySource.asObservable();
    }
    /**
     * @param {?} config
     * @return {?}
     */
    NotifyController.prototype.push = /**
     * @param {?} config
     * @return {?}
     */
    function (config) {
        this.notifySource.next(config);
    };
    NotifyController.decorators = [
        { type: Injectable },
    ];
    /** @nocollapse */
    NotifyController.ctorParameters = function () { return []; };
    return NotifyController;
}());
export { NotifyController };
if (false) {
    /** @type {?} */
    NotifyController.prototype.notify;
    /** @type {?} */
    NotifyController.prototype.notifySource;
}

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZ5LWNvbnRyb2xsZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFuYm8vdWkvIiwic291cmNlcyI6WyJsaWIvbW9kYWwvbm90aWZ5L25vdGlmeS1jb250cm9sbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxPQUFPLE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