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); /** * checks and returns whether a message and a reply * @param messages */ returnReply(messages: any): Promise; /** * Opens given chat at last message (bottom) * Will fire natural workflow events of whatsapp web * @param chatId */ openChat(chatId: string): Promise; /** * Opens chat at given message position * @param chatId Chat id * @param messageId Message id (For example: '06D3AB3D0EEB9D077A3F9A3EFF4DD030') */ openChatAt(chatId: string, messageId: string): Promise<{ wasVisible: boolean; alignAt: string; }>; }