import { BasePage } from "../BasePage"; /** * Types of notifications that can appear in the Coinbase Wallet */ export declare enum NotificationPageType { CONNECT = "connect", SIGNATURE = "signature", TOKEN_PERMISSION = "token_permission", SPENDING_CAP = "spending_cap" } /** * Represents the notification popup page in Coinbase Wallet * This page handles various notifications like: * - Connect to dapp requests * - Transaction approvals * - Token permissions * - Spending cap removals */ export declare class NotificationPage extends BasePage { /** * Helper method to get notification page URL */ private getNotificationUrl; /** * Helper method to wait for notification page */ private getNotificationPage; /** * Handles the connect to dapp notification */ connectToDapp(extensionId: string): Promise; confirmTransaction(extensionId: string): Promise; rejectTransaction(extensionId: string): Promise; approveTokenPermission(_extensionId: string): Promise; rejectTokenPermission(_extensionId: string): Promise; confirmSpendingCapRemoval(_extensionId: string): Promise; rejectSpendingCapRemoval(_extensionId: string): Promise; identifyNotificationType(notificationPage: import("@playwright/test").Page, _checkTimeout?: number): Promise; }