import type { Element } from "@siteimprove/alfa-dom"; import type { Rectangle } from "@siteimprove/alfa-rectangle"; import { Err, Ok } from "@siteimprove/alfa-result"; import { WithBoundingBox } from "../diagnostic.ts"; export declare namespace TargetSize { const IsUserAgentControlled: (name: string, box: Rectangle) => Ok; const HasSufficientSize: (name: string, box: Rectangle) => Ok; const HasInsufficientSize: (name: string, box: Rectangle) => Err; const HasSufficientSpacing: (name: string, box: Rectangle) => Ok; const HasInsufficientSizeAndSpacing: (name: string, box: Rectangle, tooCloseNeighbors: Iterable) => Err; } //# sourceMappingURL=target-size.d.ts.map