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

//#region src/doc.d.ts
type DocKey = keyof typeof docsEntry;
type Docs = Record<DocKey, Record<LocalesValues, Promise<string>>>;
type DocMetadata = FileMetadata;
declare const getDocsKeys: () => (keyof typeof docsEntry)[];
declare const getDocs: <L extends LocalesValues = DeclaredLocales>(locale?: L) => Promise<Record<DocKey, string>>;
declare const getDoc: <L extends LocalesValues = DeclaredLocales>(docName: keyof typeof docsEntry, locale?: L) => Promise<string>;
declare const getDocMetadataRecord: <L extends LocalesValues = DeclaredLocales>(locale?: L) => Promise<Record<DocKey, FileMetadata>>;
declare const getDocMetadata: <D extends DocKey, L extends LocalesValues = DeclaredLocales>(docName: D, locale?: L) => Promise<FileMetadata>;
declare const getDocMetadataBySlug: <L extends LocalesValues = DeclaredLocales>(slugs: string | string[], locale?: L, strict?: boolean) => Promise<FileMetadata[]>;
declare const getDocBySlug: <L extends LocalesValues = DeclaredLocales>(slugs: string | string[], locale?: L, strict?: boolean) => Promise<string[]>;
//#endregion
export { DocKey, DocMetadata, Docs, getDoc, getDocBySlug, getDocMetadata, getDocMetadataBySlug, getDocMetadataRecord, getDocs, getDocsKeys };
//# sourceMappingURL=doc.d.ts.map