import { Range } from "../specs/range.js"; import { Side } from "../specs/side.js"; import { Rect } from "../page/rect.js"; import type { LayoutMeta } from "./validation-result.js"; import type { PageValidation } from "./page-validation.js"; export interface SimpleValidationResult { error?: string; meta: LayoutMeta; } export declare class MetaBasedValidation { private readonly firstName; private readonly secondName; private readonly expectedRange; private firstEdge; private secondEdge; private inverted; constructor(firstName: string, secondName: string, expectedRange: Range); static forObjects(firstName: string, secondName: string, range: Range): MetaBasedValidation; withFirstEdge(edge: Side): this; withSecondEdge(edge: Side): this; withBothEdges(edge: Side): this; withInvertedCalculation(inverted: boolean): this; validate(firstArea: Rect, secondArea: Rect, pageValidation: PageValidation, direction: string): Promise; private getOffset; } //# sourceMappingURL=meta-based-validation.d.ts.map