interface LoadingOptions {
    background?: boolean;
}
export declare class DelayedLoadingState {
    private operations;
    private loadingDelayMs;
    private isCurrentlyLoading;
    private currentMessage;
    private onStateChange?;
    constructor(delayMs?: number, onStateChange?: (isLoading: boolean, message: string) => void);
    /**
     * Start a delayed loading operation
     */
    startLoading(operationId: string, message: string, options?: LoadingOptions): void;
    /**
     * Clear a loading operation
     */
    clearLoading(operationId: string): void;
    /**
     * Clear all loading operations
     */
    clearAllLoading(): void;
    /**
     * Get current loading state
     */
    get isLoading(): boolean;
    /**
     * Get current loading message
     */
    get message(): string;
    /**
     * Check if any non-background operations are active
     */
    private hasActiveOperations;
    /**
     * Get the message for the most recent non-background operation
     */
    private getCurrentMessage;
    /**
     * Trigger loading state (called by timeout)
     */
    private triggerLoadingState;
    /**
     * Update loading state based on current operations
     */
    private updateLoadingState;
}
export {};
