import Vue from 'vue';
import { I18N_NAME } from '../filter-names';
export var i18nFilter = function (key, params, nb, modifier, htmlEncodeParams) {
    if (params === void 0) { params = []; }
    if (htmlEncodeParams === void 0) { htmlEncodeParams = true; }
    return Vue.prototype.$i18n.translate(key, params, nb, modifier, htmlEncodeParams);
};
var I18nFilterPlugin = {
    install: function (v, options) {
        v.filter(I18N_NAME, i18nFilter);
    }
};
export default I18nFilterPlugin;
//# sourceMappingURL=i18n.js.map