/** * Decorates the page object with "use" method to instantiate page objects * or interactions with the current page and context. * * @example * ```ts * // Using a page object * const loginPage = page.use(LoginPage) * await loginPage.login('user@example.com', 'password') * * // Using an interaction * await page * .use(FillLoginForm) * .fillEmail('user@example.com') * .fillPassword('password') * .submit() * .exec() * ``` */ export declare const addUseMethod: { /** * Adds the use method to the page object * * @param page - The Playwright page instance to decorate */ page(page: import("playwright-core").Page): void; };