/**
 * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
 * instructions on how to migrate to a new version of Amplify Push Notifications.
 *
 * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
 */
export default class PushNotification {
    private _config;
    private _currentState;
    private _androidInitialized;
    private _iosInitialized;
    private _notificationOpenedHandlers;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    constructor(config: any);
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    getModuleName(): string;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    configure(config: any): any;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    onNotification(handler: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    onNotificationOpened(handler: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    onRegister(handler: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    initializeAndroid(): Promise<void>;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    _registerTokenCached(): Promise<boolean>;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    requestIOSPermissions(options?: {
        alert: boolean;
        badge: boolean;
        sound: boolean;
    }): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    initializeIOS(): void;
    /**
     * This function handles the React Native AppState change event
     * And checks if the app was launched by a Push Notification
     * Note: Current AppState will be null or 'unknown' if the app is coming from killed state to active
     * @param nextAppState The next state the app is changing to as part of the event
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    _checkIfOpenedByNotification(nextAppState: any, handler: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    parseMessageData: (rawMessage: any) => {
        eventSource: any;
        eventSourceAttributes: {};
    };
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    handleNotificationReceived(rawMessage: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    handleNotificationOpened(rawMessage: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    updateEndpoint(token: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    addEventListenerForAndroid(event: any, handler: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    addEventListenerForIOS(event: any, handler: any): void;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    parseMessagefromAndroid(message: any, from?: any): any;
    /**
     * @deprecated This package (@aws-amplify/pushnotification) is on a deprecation path. Please see the following link for
     * instructions on how to migrate to a new version of Amplify Push Notifications.
     *
     * https://docs.amplify.aws/lib/push-notifications/migrate-from-previous-version/q/platform/react-native/
     */
    parseMessageFromIOS(message: any): any;
}
