export declare function getClosestCell(element: Element): null | HTMLTableCellElement; export declare function isElementDisabled(element: HTMLElement): boolean; /** * Returns true if the target element or one of its parents is a dialog or is marked with data-awsui-table-suppress-navigation attribute. * This is used to suppress navigation for interactive content without a need to use a custom suppression check. */ export declare function defaultIsSuppressed(target: Element): boolean; /** * Finds the closest row to the targetAriaRowIndex+delta in the direction of delta. */ export declare function findTableRowByAriaRowIndex(table: null | HTMLTableElement, targetAriaRowIndex: number, delta: number): HTMLTableRowElement | null; /** * Finds the closest column to the targetAriaColIndex+delta in the direction of delta. */ export declare function findTableRowCellByAriaColIndex(tableRow: HTMLTableRowElement, targetAriaColIndex: number, delta: number): HTMLTableCellElement | null; /** * Collects all cells visually present in a row, including cells from earlier rows * that span into this row via rowspan. This is needed because cells with rowspan > 1 * are only in one in the DOM but visually occupy multiple rows. */ export declare function getAllCellsInRow(table: HTMLTableElement, targetAriaRowIndex: number): HTMLTableCellElement[]; /** * From a list of cell elements, find the closest one to targetAriaColIndex in the direction of delta. * Accounts for colspan: a cell with colindex=2 and colspan=4 covers columns 2,3,4,5. */ export declare function findClosestCellByAriaColIndex(cellElements: HTMLTableCellElement[], targetAriaColIndex: number, delta: number): HTMLTableCellElement | null; /** * Finds the next cell to navigate to, handling colspan and rowspan for grouped columns. * Skips past the current cell when movement lands on it due to span attributes. */ export declare function findNextCell(table: HTMLTableElement, targetRow: HTMLTableRowElement, targetAriaColIndex: number, delta: { x: number; y: number; }, currentCell: HTMLTableCellElement | null): HTMLTableCellElement | null; export declare function isTableCell(element: Element): boolean; export declare function focusNextElement(element: null | HTMLElement): void;