const require_common = require('./common.cjs');
const require_generated_legal_entry = require('./generated/legal.entry.cjs');

//#region src/legal.ts
const getLegalsKeys = () => require_common.getKeys(require_generated_legal_entry.legalEntry);
const getLegals = async (locale = require_common.defaultLocale) => require_common.getFiles(require_generated_legal_entry.legalEntry, locale);
const getLegal = async (docName, locale = require_common.defaultLocale) => require_common.getFile(require_generated_legal_entry.legalEntry, docName, locale);
const getLegalMetadataRecord = async (locale = require_common.defaultLocale) => require_common.getFileMetadataRecord(require_generated_legal_entry.legalEntry, locale);
const getLegalMetadata = async (docName, locale = require_common.defaultLocale) => require_common.getFileMetadata(require_generated_legal_entry.legalEntry, docName, locale);
const getLegalMetadataBySlug = async (slugs, locale = require_common.defaultLocale, strict = false) => await require_common.getFileMetadataBySlug(require_generated_legal_entry.legalEntry, slugs, locale, strict);
const getLegalBySlug = async (slugs, locale = require_common.defaultLocale, strict = false) => await require_common.getFileBySlug(require_generated_legal_entry.legalEntry, slugs, locale, strict);

//#endregion
exports.getLegal = getLegal;
exports.getLegalBySlug = getLegalBySlug;
exports.getLegalMetadata = getLegalMetadata;
exports.getLegalMetadataBySlug = getLegalMetadataBySlug;
exports.getLegalMetadataRecord = getLegalMetadataRecord;
exports.getLegals = getLegals;
exports.getLegalsKeys = getLegalsKeys;
//# sourceMappingURL=legal.cjs.map