import { MailComposerOptions, MailComposerResult } from './MailComposer.types'; /** * Opens a mail modal for iOS and a mail app intent for Android and fills the fields with provided * data. On iOS you will need to be signed into the Mail app. * @return A promise fulfilled with an object containing a `status` field that specifies whether an * email was sent, saved, or cancelled. Android does not provide this info, so the status is always * set as if the email were sent. */ export declare function composeAsync(options: MailComposerOptions): Promise; /** * Determine if the `MailComposer` API can be used in this app. * @return A promise resolves to `true` if the API can be used, and `false` otherwise. * - Returns `true` on iOS when the device has a default email setup for sending mail. * - Can return `false` on iOS if an MDM profile is setup to block outgoing mail. If this is the * case, you may want to use the Linking API instead. * - Always returns `true` in the browser and on Android. */ export declare function isAvailableAsync(): Promise; export * from './MailComposer.types';