import type { Locator } from '@playwright/test'; /** * Waits for all elements matching the locator to hide * * Optionally checks that the element was initially visible (wait for it to appear). * If the element has not become visible after the timeout (300 ms by default), * then it is considered that it managed to hide before that, this does not cause an error. * * @param locator Locator of elements that should hide * @param waitForVisible Enable checking that it is initially present * (if `true` - with the default timeout, if a number - with the specified one) */ export declare function assertElementsHidden(locator: Locator, waitForVisible?: boolean | number): Promise;