9 lines
452 B
TypeScript
9 lines
452 B
TypeScript
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>;
|