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

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