/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs';
import * as i0 from "@angular/core";
export class CoachmarkService {
    constructor() {
        this.showed = new Subject();
        this.showed$ = this.showed.asObservable();
        this.setVisiable = (/**
         * @param {?} ifShow
         * @return {?}
         */
        (ifShow) => {
            this.showed.next(ifShow);
        });
    }
}
CoachmarkService.decorators = [
    { type: Injectable, args: [{
                providedIn: 'root'
            },] }
];
/** @nocollapse */
CoachmarkService.ctorParameters = () => [];
/** @nocollapse */ CoachmarkService.ngInjectableDef = i0.defineInjectable({ factory: function CoachmarkService_Factory() { return new CoachmarkService(); }, token: CoachmarkService, providedIn: "root" });
if (false) {
    /**
     * @type {?}
     * @private
     */
    CoachmarkService.prototype.showed;
    /** @type {?} */
    CoachmarkService.prototype.showed$;
    /** @type {?} */
    CoachmarkService.prototype.setVisiable;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29hY2htYXJrLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbW9tZW50dW0tdWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImNvYWNobWFyay9jb2FjaG1hcmsuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDOztBQUsvQixNQUFNLE9BQU8sZ0JBQWdCO0lBSzNCO1FBSFEsV0FBTSxHQUFHLElBQUksT0FBTyxFQUFXLENBQUM7UUFDeEMsWUFBTyxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUMsWUFBWSxFQUFFLENBQUM7UUFJOUIsZ0JBQVc7Ozs7UUFBRyxDQUFDLE1BQ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