export interface CommandError extends Error {
    action?: string;
    selector?: string;
    originalError?: Error;
    isTimeout?: boolean;
}
/**
 * Check if an error is a timeout error
 */
export declare function isTimeoutError(error: Error): boolean;
/**
 * Format error message with consistent structure
 */
export declare function formatErrorMessage(action: string, message: string, selector?: string, error?: Error): string;
/**
 * Create a standardized command error
 */
export declare function handleCommandError(error: Error, action: string, selector?: string): CommandError;
