import type { QWElement } from '@qualweb/qw-element';
import { Test } from '@qualweb/core/evaluation';
import { AtomicRule } from '../lib/AtomicRule.object';
declare class QW_ACT_R76 extends AtomicRule {
    execute(element: QWElement): void;
    getBackground(element: QWElement): string;
    isImage(color: string): boolean;
    evaluateGradient(test: Test, element: QWElement, parsedGradientString: any, fgColor: any, opacity: number, fontSize: string, fontWeight: string, fontStyle: string, fontFamily: string, elementText: string): boolean;
    isHumanLanguage(text: string): boolean;
    equals(color1: any, color2: any): boolean;
    getGradientDirection(gradient: string): string | undefined;
    parseGradientString(gradient: string, opacity: number): any;
    parseRGBString(colorString: string, opacity: number): any;
    getRelativeLuminance(red: number, green: number, blue: number): number;
    flattenColors(fgColor: any, bgColor: any): any;
    private isBold;
    getContrast(bgColor: any, fgColor: any): number;
    hasValidContrastRatio(contrast: number, fontSize: string, isBold: boolean): boolean;
    getTextSize(font: string, fontSize: number, bold: boolean, italic: boolean, text: string): number;
    getColorInGradient(fromColor: any, toColor: any, ratio: number): any;
}
export { QW_ACT_R76 };
//# sourceMappingURL=QW-ACT-R76.d.ts.map