/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs';
export class ListActivatedService {
    constructor() {
        this.activatedComponentSource = new Subject();
        this.activatedComponent = this.activatedComponentSource.asObservable();
    }
    /**
     * @return {?}
     */
    publish() {
        this.activatedComponentSource.next();
    }
}
ListActivatedService.decorators = [
    { type: Injectable },
];
/** @nocollapse */
ListActivatedService.ctorParameters = () => [];
function ListActivatedService_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    ListActivatedService.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    ListActivatedService.ctorParameters;
    /** @type {?} */
    ListActivatedService.prototype.activatedComponent;
    /** @type {?} */
    ListActivatedService.prototype.activatedComponentSource;
}

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