UNPKG

@expo/config-plugins

Version:

A library for Expo config plugins

11 lines (10 loc) 531 B
import { ExpoConfig } from '@expo/config-types'; import { XcodeProject } from 'xcode'; 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, project }: { projectRoot: string; project: XcodeProject; }): Promise<XcodeProject>;