import { defaultLocale, getFile, getFileBySlug, getFileMetadata, getFileMetadataBySlug, getFileMetadataRecord, getFiles, getKeys } from "./common.mjs";
import { frequentQuestionsEntry } from "./generated/frequentQuestions.entry.mjs";

//#region src/frequentQuestions.ts
const getFrequentQuestionsKeys = () => getKeys(frequentQuestionsEntry);
const getFrequentQuestions = async (locale = defaultLocale) => getFiles(frequentQuestionsEntry, locale);
const getFrequentQuestion = async (docName, locale = defaultLocale) => getFile(frequentQuestionsEntry, docName, locale);
const getFrequentQuestionMetadataRecord = async (locale = defaultLocale) => getFileMetadataRecord(frequentQuestionsEntry, locale);
const getFrequentQuestionMetadata = async (docName, locale = defaultLocale) => getFileMetadata(frequentQuestionsEntry, docName, locale);
const getFrequentQuestionMetadataBySlug = async (slugs, locale = defaultLocale, strict = false) => await getFileMetadataBySlug(frequentQuestionsEntry, slugs, locale, strict);
const getFrequentQuestionBySlug = async (slugs, locale = defaultLocale, strict = false) => await getFileBySlug(frequentQuestionsEntry, slugs, locale, strict);

//#endregion
export { getFrequentQuestion, getFrequentQuestionBySlug, getFrequentQuestionMetadata, getFrequentQuestionMetadataBySlug, getFrequentQuestionMetadataRecord, getFrequentQuestions, getFrequentQuestionsKeys };
//# sourceMappingURL=frequentQuestions.mjs.map