import { type Page } from 'playwright'; /** * Waits until the page shows a Salesforce error, then throws its text. */ export declare function waitForPageErrors(page: Page, timeout?: number): Promise; /** * Throws the text of the Salesforce errors the page shows now, if any, without waiting. */ export declare function throwPageErrors(page: Page): Promise;