import { Diagnostic, Rule } from "@siteimprove/alfa-act"; import type { Document } from "@siteimprove/alfa-dom"; import { Node } from "@siteimprove/alfa-dom"; import { Err, Ok } from "@siteimprove/alfa-result"; import type { Page } from "@siteimprove/alfa-web"; import { Question } from "../common/act/index.ts"; /** * This rule asks whether the page has repeated content before its main * content, unless it can automatically answer false when there is no * accessible content before the main element. * * It tries to locate the main landmarks (elements with role of main), * and asks a question if it doesn't find any. */ declare const _default: Rule.Atomic; export default _default; /** * @public */ export declare namespace Outcomes { const HasNoMainContent: Ok; const HasNoRepeatedContentBeforeMain: Ok; const HasRepeatedContentBeforeMain: Err; } //# sourceMappingURL=rule.d.ts.map