/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { TableKeyboardNavigationContextType } from './TableKeyboardNavigationContextType.js'; import { TableKeyboardNavigationStateType } from './TableKeyboardNavigationStateType.js'; import { NavigatableSettings } from './NavigatableSettings.js'; import * as React from 'react'; /** * @hidden */ export declare const tableKeyboardNavigation: { onConstructor: (options: { navigatable?: boolean | undefined | NavigatableSettings; contextStateRef: { current?: TableKeyboardNavigationContextType; }; navigationStateRef: { current?: TableKeyboardNavigationStateType; }; idPrefix?: string; }) => void; onComponentDidMount: (options: { scope?: HTMLElement; contextStateRef: { current?: TableKeyboardNavigationContextType; }; navigationStateRef: { current?: TableKeyboardNavigationStateType; }; }) => void; onGetSnapshotBeforeUpdate: (options: { document?: Document; contextStateRef: { current?: TableKeyboardNavigationContextType; }; navigationStateRef: { current?: TableKeyboardNavigationStateType; }; }) => void; onComponentDidUpdate: (options: { scope?: HTMLElement; contextStateRef: { current?: TableKeyboardNavigationContextType; }; navigationStateRef: { current?: TableKeyboardNavigationStateType; }; focusFirst?: boolean; newEditableRow?: Element; singleEditRow?: boolean; lastActiveElement?: Element; navigatable?: boolean | NavigatableSettings; userInitiatedEdit?: boolean; }) => void; onFocus: (event: React.FocusEvent, options: { navigatable?: boolean | NavigatableSettings; contextStateRef: { current?: TableKeyboardNavigationContextType; }; }) => void; onKeyDown: (event: React.KeyboardEvent, options: { navigatable: boolean | NavigatableSettings; contextStateRef: { current?: TableKeyboardNavigationContextType; }; navigationStateRef: { current?: TableKeyboardNavigationStateType; }; onNavigationAction?: ((options: { event: React.KeyboardEvent; focusElement: any; action?: "select" | "moveToNextPage" | "moveToPrevPage" | "reorderToLeft" | "reorderToRight" | undefined; }) => void) | undefined; columns?: object[] | undefined; }) => Promise; generateMatrix: (options: { scope?: HTMLElement; navigationStateRef: { current?: TableKeyboardNavigationStateType; }; }) => void; focusFirstDataElement: (options: { scope?: HTMLElement | undefined; contextStateRef: { current?: TableKeyboardNavigationContextType | undefined; }; navigationStateRef: { current?: TableKeyboardNavigationStateType | undefined; }; }, event?: any) => void; };