import type { DataRect } from "../types.js"; interface Cutoffs { readonly startCutoff: number; readonly endCutoff: number; readonly topCutoff: number; readonly bottomCutoff: number; } interface AccessFlags { readonly startAccessible: boolean; readonly endAccessible: boolean; readonly topAccessible: boolean; readonly bottomAccessible: boolean; } /** * Clamps a rect to the accessible pin regions of the viewport. Each inaccessible * edge is clamped to its pin cutoff boundary. Returns null if the clamped rect * has zero area. */ export declare function clampRectToAccessible(rect: DataRect, cutoffs: Cutoffs, access: AccessFlags): DataRect | null; export {};