import { defaultLocale, getFile, getFileBySlug, getFileMetadataRecord, getKeys } from "./common.mjs";
import { docsEntry } from "./generated/docs.entry.mjs";

//#region ../../../docs/dist/esm/doc.mjs
const getDocsKeys = () => getKeys(docsEntry);
const getDoc = async (docName, locale = defaultLocale) => await getFile(docsEntry, docName, locale);
const getDocMetadataRecord = async (locale = defaultLocale) => await getFileMetadataRecord(docsEntry, locale);
const getDocBySlug = async (slugs, locale = defaultLocale, strict = false) => await getFileBySlug(docsEntry, slugs, locale, strict);

//#endregion
export { getDoc, getDocBySlug, getDocMetadataRecord, getDocsKeys };
//# sourceMappingURL=doc.mjs.map