UNPKG

@expo/config-plugins

Version:

A library for Expo config plugins

9 lines (8 loc) 452 B
import { ExpoConfig } from '@expo/config-types'; import { ConfigPlugin } from '../Plugin.types'; import { LocaleJson } from '../utils/locales'; export declare const withLocales: ConfigPlugin; export declare function getLocales(config: Pick<ExpoConfig, 'locales'>): Record<string, string | LocaleJson> | null; export declare function setLocalesAsync(config: Pick<ExpoConfig, 'locales'>, { projectRoot }: { projectRoot: string; }): Promise<unknown>;