import { AndroidConfig, ConfigPlugin } from '@expo/config-plugins';
type StripePluginProps = {
/**
* The iOS merchant ID used for enabling Apple Pay.
* Without this, the error "Missing merchant identifier" will be thrown on iOS.
*/
merchantIdentifier: string | string[];
enableGooglePay: boolean;
/**
* Whether to include Onramp functionality in the build.
* When true, adds StripeSdk_includeOnramp=true to gradle.properties for Android
* and includes the Onramp pod for iOS.
* Defaults to false.
*/
includeOnramp?: boolean;
};
/**
* Adds the following to the entitlements:
*
* com.apple.developer.in-app-payments
*
* [MERCHANT_IDENTIFIER]
*
*/
export declare function setApplePayEntitlement(merchantIdentifiers: string | string[], entitlements: Record): Record;
/**
* Add a blank Swift file to the Xcode project for Swift compatibility.
*/
export declare const withNoopSwiftFile: ConfigPlugin;
/**
* Adds the following to AndroidManifest.xml:
*
*
* ...
*
*
*/
export declare function setGooglePayMetaData(enabled: boolean, modResults: AndroidConfig.Manifest.AndroidManifest): AndroidConfig.Manifest.AndroidManifest;
/**
* Adds or removes the StripeSdk_includeOnramp property in gradle.properties.
*
* @param includeOnramp Whether to include Onramp functionality
* @param modResults The current gradle.properties as PropertiesItem array
* @returns Modified PropertiesItem array
*/
export declare function setOnrampGradleProperty(includeOnramp: boolean, modResults: AndroidConfig.Properties.PropertiesItem[]): AndroidConfig.Properties.PropertiesItem[];
declare const _default: ConfigPlugin;
export default _default;
//# sourceMappingURL=withStripe.d.ts.map