"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.subpathFromLng = (config, language) => {
    var _a;
    if (typeof language !== 'string') {
        return null;
    }
    const subpath = (_a = config.localeSubpaths) === null || _a === void 0 ? void 0 : _a[language];
    if (typeof subpath !== 'string') {
        return null;
    }
    return subpath;
};
