import type { Page } from 'playwright'; /** * Decorates the page object with custom assertions for testing browser interactions. * All assertions support automatic retries with configurable timeouts and poll intervals. * * @example * ```ts * // Assert element exists * await page.assertExists('.login-button') * * // Assert page title * await page.assertTitle('Login Page') * * // Assert URL contains substring * await page.assertUrlContains('/dashboard') * * // Assert element text * await page.assertText('h1', 'Welcome') * ``` */ export declare const addAssertions: { /** * Adds assertion methods to the page object * * @param page - The Playwright page instance to decorate * @param _context - The browser context (unused but required by decorator interface) * @param config - Plugin configuration with assertion settings */ page(page: Page, _context: import("playwright").BrowserContext, config: import("../types/main.js").PluginConfig): void; };