import { Page } from 'puppeteer'; import { CreateConfig } from '../../config/create-config'; import { GroupLayer } from './group.layer'; export declare class UILayer extends GroupLayer { page: Page; constructor(page: Page, session?: string, options?: CreateConfig); /** * Opens given chat at last message (bottom) * Will fire natural workflow events of whatsapp web * @category UI * @param chatId */ openChat(chatId: string): Promise; /** * Opens chat at given message position * @category UI * @param chatId Chat id * @param messageId Message id (For example: '06D3AB3D0EEB9D077A3F9A3EFF4DD030') */ openChatAt(chatId: string, messageId: string): Promise; /** * Return the current active chat * @category UI */ getActiveChat(): Promise; }