/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
/**
 * @abstract
 */
var /**
 * @abstract
 */
IgxExporterOptionsBase = /** @class */ (function () {
    function IgxExporterOptionsBase(fileName, _fileExtension) {
        this._fileExtension = _fileExtension;
        this.ignoreColumnsVisibility = false;
        this.ignoreFiltering = false;
        this.ignoreColumnsOrder = false;
        this.ignoreSorting = false;
        this.setFileName(fileName);
    }
    /**
     * @param {?} fileName
     * @return {?}
     */
    IgxExporterOptionsBase.prototype.setFileName = /**
     * @param {?} fileName
     * @return {?}
     */
    function (fileName) {
        this._fileName = fileName + (fileName.endsWith(this._fileExtension) === false ? this._fileExtension : '');
    };
    Object.defineProperty(IgxExporterOptionsBase.prototype, "fileName", {
        get: /**
         * @return {?}
         */
        function () {
            return this._fileName;
        },
        set: /**
         * @param {?} value
         * @return {?}
         */
        function (value) {
            this.setFileName(value);
        },
        enumerable: true,
        configurable: true
    });
    return IgxExporterOptionsBase;
}());
/**
 * @abstract
 */
export { IgxExporterOptionsBase };
function IgxExporterOptionsBase_tsickle_Closure_declarations() {
    /** @type {?} */
    IgxExporterOptionsBase.prototype._fileName;
    /** @type {?} */
    IgxExporterOptionsBase.prototype.ignoreColumnsVisibility;
    /** @type {?} */
    IgxExporterOptionsBase.prototype.ignoreFiltering;
    /** @type {?} */
    IgxExporterOptionsBase.prototype.ignoreColumnsOrder;
    /** @type {?} */
    IgxExporterOptionsBase.prototype.ignoreSorting;
    /** @type {?} */
    IgxExporterOptionsBase.prototype._fileExtension;
}

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