import type { Page, ElementHandle, Locator } from 'playwright'; import { BaseActionClass } from '../BaseActionClass'; export default class Post extends BaseActionClass { link: string | null; owner: string | null; mediaLink: string | null; caption: string | null; element: Locator | null; isInPostUrl: boolean | null; constructor(); loadPostByElement(element: Locator): Promise; loadPostByUrl(url: string): Promise; gotoPostUrl(): Promise; like(): Promise; comment(commentText: string): Promise; static findPostLocatorFromHome(page: Page): Locator; static findAllPostsElementFromHome(page: Page): Promise; static findPostLocatorFromHomeDialog(page: Page): Locator; static findPostLocatorFromPostPage(page: Page): Locator; } export declare type PostInterface = typeof Post;