/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs';
var ListEventService = /** @class */ (function () {
    function ListEventService() {
        this.listOptionsSource = new Subject();
        this.listOptions = this.listOptionsSource.asObservable();
    }
    /**
     * @param {?} elementRef
     * @return {?}
     */
    ListEventService.prototype.addOption = /**
     * @param {?} elementRef
     * @return {?}
     */
    function (elementRef) {
        this.listOptionsSource.next(elementRef);
    };
    ListEventService.decorators = [
        { type: Injectable },
    ];
    /** @nocollapse */
    ListEventService.ctorParameters = function () { return []; };
    return ListEventService;
}());
export { ListEventService };
function ListEventService_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    ListEventService.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    ListEventService.ctorParameters;
    /** @type {?} */
    ListEventService.prototype.listOptions;
    /** @type {?} */
    ListEventService.prototype.listOptionsSource;
}

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