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

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