import { LocalesValues } from "@intlayer/types/module_augmentation";

//#region src/common.d.ts
declare const defaultLocale: "en";
declare const GITHUB_URL_PREFIX = "https://github.com/aymericzip/intlayer/blob/main/docs";
declare const URL_PREFIX = "https://intlayer.org/";
declare const getKeys: <T extends Record<string, any>>(obj: T) => (keyof T)[];
declare const getFiles: <F extends Record<`./${string}`, Record<LocalesValues, Promise<string>>>>(files: F, lang?: LocalesValues) => Promise<Record<string, string>>;
declare const getFile: <F extends Record<string, Record<LocalesValues, Promise<string>>>>(files: F, docKey: keyof F, locale?: LocalesValues) => Promise<string>;
type FileMetadata = {
  docKey: string;
  url: string;
  relativeUrl: string;
  githubUrl: string;
  title: string;
  slugs: string[];
  description: string;
  keywords: string[];
  updatedAt: string;
  createdAt: string;
  author?: string;
  youtubeVideo?: string;
  applicationTemplate?: string;
  history?: {
    version: string;
    date: string;
    changes: string;
  }[];
};
declare const formatMetadata: (docKey: string, file: string, locale?: LocalesValues) => FileMetadata;
declare const getFileMetadata: <F extends Record<string, Record<LocalesValues, Promise<string>>>, R extends FileMetadata>(files: F, docKey: keyof F, locale?: LocalesValues) => Promise<R>;
declare const getFileMetadataRecord: <F extends Record<string, Record<LocalesValues, Promise<string>>>>(files: F, locale?: LocalesValues) => Promise<Record<keyof F, FileMetadata>>;
declare const getFileMetadataBySlug: <F extends Record<string, Record<LocalesValues, Promise<string>>>>(files: F, slugs: string | string[], locale?: LocalesValues, strict?: boolean) => Promise<FileMetadata[]>;
declare const getFileBySlug: <F extends Record<string, Record<LocalesValues, Promise<string>>>>(files: F, slugs: string | string[], locale?: LocalesValues, strict?: boolean) => Promise<string[]>;
//#endregion
export { FileMetadata, GITHUB_URL_PREFIX, URL_PREFIX, defaultLocale, formatMetadata, getFile, getFileBySlug, getFileMetadata, getFileMetadataBySlug, getFileMetadataRecord, getFiles, getKeys };
//# sourceMappingURL=common.d.ts.map