import { StepAnnotation } from '../MablStep';
import { MablStepV2 } from '../MablStepV2';
import { MablAction } from '../MablAction';
import { AccessibilityCheckStepDescriptor, AccessibilityCheckStepWithFindDescriptor } from '../types/AccessibilityCheckStepDescriptor';
import { FindAction, YamlFindAction } from '../actions/FindAction';
export declare enum AccessibilityCheckSeverity {
    Critical = "critical",
    Minor = "minor",
    Moderate = "moderate",
    Serious = "serious"
}
export interface CheckConfig {
    tags?: string[];
    rules?: string[];
    disabledRules?: string[];
    failOn?: {
        severity: AccessibilityCheckSeverity;
    };
    runInMainFrame?: boolean;
    bypassCors?: boolean;
    disabledRulesOnIframes?: string[];
}
export declare class AccessibilityCheckStep extends MablStepV2<AccessibilityCheckStepDescriptor> {
    static readonly stepName = "AccessibilityCheck";
    static readonly actionCode = "accessibility_check";
    static readonly mablScriptStepNames: string[];
    static readonly yamlMablScriptNames: string[];
    findAction?: FindAction;
    checkConfig?: CheckConfig;
    constructor(descriptor: AccessibilityCheckStepDescriptor | AccessibilityCheckStepWithFindDescriptor, findAction?: FindAction);
    canContinueOnFailure(): boolean;
    getStepName(): string;
    static fromYaml(_stepName: string, stepArgs: {
        [key: string]: any;
    }): AccessibilityCheckStep;
    static fromLegacyMablscript(args: any[], actions: MablAction[]): AccessibilityCheckStep;
    toMablscript(): string;
    getInputVariables(): string[];
    stepDescription(): string;
    static create(descriptor: AccessibilityCheckStepDescriptor, findAction?: FindAction): AccessibilityCheckStep;
}
export interface YmlAccessibilityCheckStep {
    AccessibilityCheck: {
        id?: string;
        tags?: string[];
        rules?: string[];
        disabledRules?: string[];
        annotation?: StepAnnotation;
        description?: string;
        failOn?: {
            severity: AccessibilityCheckSeverity;
        };
    } & YamlFindAction;
}
//# sourceMappingURL=AccessibilityCheck.d.ts.map