/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs';
/**
 * @record
 */
export function PickerCell() { }
function PickerCell_tsickle_Closure_declarations() {
    /** @type {?} */
    PickerCell.prototype.value;
    /** @type {?} */
    PickerCell.prototype.text;
    /** @type {?|undefined} */
    PickerCell.prototype.disabled;
    /** @type {?|undefined} */
    PickerCell.prototype.readonly;
    /** @type {?|undefined} */
    PickerCell.prototype.children;
}
var PickerService = /** @class */ (function () {
    function PickerService() {
        this.showEvent = new Subject();
        this.scrollEvent = new Subject();
        this.onShow = this.showEvent.asObservable();
        this.onScroll = this.scrollEvent.asObservable();
    }
    /**
     * @return {?}
     */
    PickerService.prototype.show = /**
     * @return {?}
     */
    function () {
        this.showEvent.next();
    };
    /**
     * @param {?} b
     * @return {?}
     */
    PickerService.prototype.scroll = /**
     * @param {?} b
     * @return {?}
     */
    function (b) {
        this.scrollEvent.next(b);
    };
    PickerService.decorators = [
        { type: Injectable },
    ];
    /** @nocollapse */
    PickerService.ctorParameters = function () { return []; };
    return PickerService;
}());
export { PickerService };
function PickerService_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    PickerService.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    PickerService.ctorParameters;
    /** @type {?} */
    PickerService.prototype.onShow;
    /** @type {?} */
    PickerService.prototype.onScroll;
    /** @type {?} */
    PickerService.prototype.showEvent;
    /** @type {?} */
    PickerService.prototype.scrollEvent;
}

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