/**
 * @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;
}
export class PickerService {
    constructor() {
        this.showEvent = new Subject();
        this.scrollEvent = new Subject();
        this.onShow = this.showEvent.asObservable();
        this.onScroll = this.scrollEvent.asObservable();
    }
    /**
     * @return {?}
     */
    show() {
        this.showEvent.next();
    }
    /**
     * @param {?} b
     * @return {?}
     */
    scroll(b) {
        this.scrollEvent.next(b);
    }
}
PickerService.decorators = [
    { type: Injectable },
];
/** @nocollapse */
PickerService.ctorParameters = () => [];
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlja2VyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFuYm8vdWktbmF0aXZlLyIsInNvdXJjZXMiOlsibGliL2Zvcm1zL3BpY2tlci9waWNrZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyx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