import { ExpoConfig } from '@expo/config-types'; import { ConfigPlugin, Mod } from '../Plugin.types'; import { Manifest, Paths, Properties, Resources } from '../android'; declare type OptionalPromise = T | Promise; declare type MutateDataAction = (expo: ExpoConfig, data: T) => OptionalPromise; /** * Helper method for creating mods from existing config functions. * * @param action */ export declare function createAndroidManifestPlugin(action: MutateDataAction, name: string): ConfigPlugin; export declare function createStringsXmlPlugin(action: MutateDataAction, name: string): ConfigPlugin; /** * Provides the AndroidManifest.xml for modification. * * @param config * @param action */ export declare const withAndroidManifest: ConfigPlugin>; /** * Provides the strings.xml for modification. * * @param config * @param action */ export declare const withStringsXml: ConfigPlugin>; /** * Provides the `android/app/src/main/res/values/colors.xml` as JSON (parsed with [`xml2js`](https://www.npmjs.com/package/xml2js)). * * @param config * @param action */ export declare const withAndroidColors: ConfigPlugin>; /** * Provides the `android/app/src/main/res/values-night/colors.xml` as JSON (parsed with [`xml2js`](https://www.npmjs.com/package/xml2js)). * * @param config * @param action */ export declare const withAndroidColorsNight: ConfigPlugin>; /** * Provides the `android/app/src/main/res/values/styles.xml` as JSON (parsed with [`xml2js`](https://www.npmjs.com/package/xml2js)). * * @param config * @param action */ export declare const withAndroidStyles: ConfigPlugin>; /** * Provides the project MainActivity for modification. * * @param config * @param action */ export declare const withMainActivity: ConfigPlugin>; /** * Provides the project MainApplication for modification. * * @param config * @param action */ export declare const withMainApplication: ConfigPlugin>; /** * Provides the project /build.gradle for modification. * * @param config * @param action */ export declare const withProjectBuildGradle: ConfigPlugin>; /** * Provides the app/build.gradle for modification. * * @param config * @param action */ export declare const withAppBuildGradle: ConfigPlugin>; /** * Provides the /settings.gradle for modification. * * @param config * @param action */ export declare const withSettingsGradle: ConfigPlugin>; /** * Provides the /gradle.properties for modification. * * @param config * @param action */ export declare const withGradleProperties: ConfigPlugin>; export {};