/**
* What the table's keyboard model (ASMA-8875) works on: the controls in a row or the header, and the rows the keys move
* through. A StyledTable nested in a sub-row (`renderSubRows`) is part of the outermost table here: its rows join the
* outermost table's rows, in visual order, and the outermost table owns the keys and the tab stops.
*
* The key maps are in `tableKeyboard.ts`, the tab stops in `tableTabStops.ts`.
*/
/** Marks a control the table took out of the Tab sequence: it is still a control, reached with the arrow keys. */
export declare const TABLE_CONTROL_ATTRIBUTE = "data-table-control";
/** `TableRow` renders it: the rows the keys stop on, a nested StyledTable's included. */
export declare const TABLE_ROW_ATTRIBUTE = "data-table-row";
/** Marks the `
` of every StyledTable, so that a nested one finds the table it is nested in. */
export declare const STYLED_TABLE_ATTRIBUTE = "data-styled-table";
/** `TableRow` renders it on the row its own table has as the focused row (React state), for the tab stop's fallback. */
export declare const FOCUSED_ROW_ATTRIBUTE = "data-focused-row";
export declare const isMarked: (element: Element) => boolean;
/**
* Whether the keyboard can land on this element in the table now: a tab stop of its own, or one the table took over (the
* marker), that is shown. A control someone made `tabIndex={-1}` without the marker (the locked select checkbox) is not
* one.
*/
export declare const isTableControl: (element: HTMLElement) => boolean;
/** Writes a tab index only when it changes, so the MutationObserver that calls this settles. */
export declare const setTabIndex: (element: HTMLElement, tabIndex: 0 | -1) => void;
/** Marks a tab stop as the table's control. Elements that are neither a stop nor marked are not controls: `false`. */
export declare const takeOver: (element: HTMLElement) => boolean;
/**
* Whether `node` is behind an overlay that sits inside `container` (a row, the header, a table). Such an overlay ends the
* table: its contents are not the table's controls, its keys are not the table's, and a StyledTable in it owns itself. A
* whole table inside a dialog is not behind one: that dialog is not inside it.
*/
export declare const isBehindOverlay: (node: Element, container: Element) => boolean;
/** The StyledTable this one is nested in (in a sub-row of it), if any; none when an overlay lies between them. */
export declare const getParentTable: (table: HTMLTableElement) => HTMLTableElement | null;
/** The outermost StyledTable around a node: the one that owns the keys and the tab stops. */
export declare const getOutermostTable: (node: Element | null | undefined) => HTMLTableElement | null;
/** The candidates of one row's own cells, in DOM order (visual order): not those of a table nested in it. */
export declare const rowCandidates: (row: HTMLTableRowElement) => HTMLElement[];
/** The candidates in a table's own header, not in a table nested in it, and not the header rows (the stop) themselves. */
export declare const headerCandidates: (table: HTMLTableElement) => HTMLElement[];
/** The controls of a row the arrow keys move through, in visual order. */
export declare const getRowControls: (row: HTMLTableRowElement) => HTMLElement[];
/** The header controls the arrow keys move through, in visual order. A hidden header (`hideHeader`) has none. */
export declare const getHeaderControls: (table: HTMLTableElement) => HTMLElement[];
/**
* The row of the keys' list that an element is (or is in the own cells of), inside `table`: a `TableRow` of `table` or of
* a StyledTable nested in it. `undefined` outside one.
*/
export declare const navigableRowOf: (element: Element, table: HTMLTableElement) => HTMLTableRowElement | undefined;
/**
* The rows the keys move through, in visual (DOM) order: the table's own rows, and the rows of a StyledTable nested in a
* sub-row, recursively. Called on the outermost table.
*/
export declare const getNavigableRows: (table: HTMLTableElement) => HTMLTableRowElement[];