import { FileMetadata } from "./common.js";
import { frequentQuestionsEntry } from "./generated/frequentQuestions.entry.js";
import { DeclaredLocales, LocalesValues } from "@intlayer/types";

//#region src/frequentQuestions.d.ts
type FrequentQuestionKey = keyof typeof frequentQuestionsEntry;
type FrequentQuestions = Record<FrequentQuestionKey, Record<LocalesValues, Promise<string>>>;
type FrequentQuestionMetadata = FileMetadata;
declare const getFrequentQuestionsKeys: () => (keyof typeof frequentQuestionsEntry)[];
declare const getFrequentQuestions: <L extends LocalesValues = DeclaredLocales>(locale?: L) => Promise<Record<FrequentQuestionKey, string>>;
declare const getFrequentQuestion: <L extends LocalesValues = DeclaredLocales>(docName: FrequentQuestionKey, locale?: L) => Promise<string>;
declare const getFrequentQuestionMetadataRecord: <L extends LocalesValues = DeclaredLocales>(locale?: L) => Promise<Record<FrequentQuestionKey, FileMetadata>>;
declare const getFrequentQuestionMetadata: <D extends FrequentQuestionKey, L extends LocalesValues = DeclaredLocales>(docName: D, locale?: L) => Promise<FileMetadata>;
declare const getFrequentQuestionMetadataBySlug: <L extends LocalesValues = DeclaredLocales>(slugs: string | string[], locale?: L, strict?: boolean) => Promise<FileMetadata[]>;
declare const getFrequentQuestionBySlug: <L extends LocalesValues = DeclaredLocales>(slugs: string | string[], locale?: L, strict?: boolean) => Promise<string[]>;
//#endregion
export { FrequentQuestionKey, FrequentQuestionMetadata, FrequentQuestions, getFrequentQuestion, getFrequentQuestionBySlug, getFrequentQuestionMetadata, getFrequentQuestionMetadataBySlug, getFrequentQuestionMetadataRecord, getFrequentQuestions, getFrequentQuestionsKeys };
//# sourceMappingURL=frequentQuestions.d.ts.map