import type { Page } from "@playwright/test";
export type LoadingElement = {
    selector: string;
    description?: string;
};
export type LoadingDetectionOptions = {
    timeout: number;
    customLoadingSelectors?: LoadingElement[];
};
/**
 * Simple loading state detector that waits for loading indicators to disappear
 */
export declare class LoadingStateDetector {
    private page;
    private options;
    private static readonly COMMON_LOADING_SELECTORS;
    constructor(page: Page, options?: Partial<LoadingDetectionOptions>);
    /**
     * Wait for all loading indicators to disappear
     */
    waitForLoadingComplete(): Promise<void>;
    /**
     * Static helper method for quick loading completion check
     */
    static waitForPageLoadingComplete(page: Page, timeout?: number, customSelectors?: LoadingElement[]): Promise<void>;
}
