import { Actor, Question } from '@testla/screenplay'; type PageOptions = { timeout?: number; }; /** * Question Class for the current page. */ export declare class Page extends Question { private urlDef?; private checkMode; private options?; private constructor(); /** * Verifies if page... * * @param {Actor} actor the actor * @return {boolean} if .is was called -> positive check, if .not was called -> negative check */ answeredBy(actor: Actor): Promise; /** * make the Question check for the positive. * @return {Page} new Page instance */ static get toHave(): Page; /** * make the Question check for the negative. * @return {Page} new Page instance */ static get notToHave(): Page; /** * Verifies if an element is enabled. * * @param {string | RegExp} url the url * @param {Options} options (optional). * @return {Page} this Page instance */ url(url: string | RegExp, options?: PageOptions): Page; } export {};