import type { FocusedPart } from "../CursorContext"; export declare function getAttribute(element: HTMLElement, attributeName: string): [string, HTMLElement]; export declare function getRowIndexAttribute(element: HTMLElement): number; export declare function getRowKeyAttribute(element: HTMLElement): string; export declare function getFocusablePosition(element: HTMLElement): { part: FocusedPart; columnIndex: number; rowIndex: number; }; export declare function getCellPosition(element: HTMLElement): [number, number]; export declare const makeMapAdder: (k: K, v: V) => (old: Map) => Map; export declare const makeMapDeleter: (k: K) => (old: Map) => Map; export declare const clamp: (x: number | undefined, min: number, max: number) => number;