import type { CSS4Color } from "@siteimprove/alfa-css"; import type { Device } from "@siteimprove/alfa-device"; import type { Text } from "@siteimprove/alfa-dom"; import { Element, Node } from "@siteimprove/alfa-dom"; import { Group } from "../act/group.ts"; /** * @internal */ export declare function hasSufficientContrast(target: Text, device: Device, largeTextThreshold: number, normalTextThreshold: number): { 1: import("@siteimprove/alfa-act").Question<"node[]", Group>, Text, globalThis.Iterable, import("@siteimprove/alfa-act").Question<"color[]", Text, Text, globalThis.Iterable, import("@siteimprove/alfa-act").Question<"color[]", Text, Text, globalThis.Iterable, import("@siteimprove/alfa-option").Maybe>, "background-colors">, "foreground-colors">, "ignored-interposed-elements">; }; /** * {@link https://w3c.github.io/wcag/guidelines/#dfn-contrast-ratio} * * @internal */ export declare function contrast(foreground: CSS4Color, background: CSS4Color): number; //# sourceMappingURL=contrast.d.ts.map