interface Req {
  keys(): string[];
  (filename: string): any;
}
/**
 * @param req - A webpack `require.context` for the API translation JSON files.
 * @param languagesIgnorePages - A function that returns true if the page should not be translated.
 *   Typically `LANGUAGES_IGNORE_PAGES` from the docs config.
 */
export default function mapApiPageTranslations(req: Req, languagesIgnorePages?: (pathname: string) => boolean): Record<string, any>;
export {};