export interface WaitForLoadingArgs { /** * The value of the `data-test-id` attribute for the loading element(s). */ testId?: string | RegExp; timeout?: number; /** * If true, will fail the test if no loading elements are found. */ failIfNull?: boolean; } /** * Utility to wait for one or more loading elements to be removed from the DOM. */ declare function waitForLoading({ testId, timeout, failIfNull, }?: WaitForLoadingArgs): Promise; export default waitForLoading;