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

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