import type { ScrollIntoViewFn } from "../types.js"; import type { PositionState, RootCellFn } from "./+types.js"; export interface NavigatorParams { readonly viewport: HTMLElement; readonly gridId: string; readonly scrollIntoView: ScrollIntoViewFn; readonly getRootCell: RootCellFn; readonly isRowDetailExpanded: (rowIndex: number) => boolean; readonly position: PositionState; readonly nextKey: string; readonly prevKey: string; readonly upKey: string; readonly downKey: string; readonly homeKey: string; readonly endKey: string; readonly pageUpKey: string; readonly pageDownKey: string; readonly columnCount: number; readonly rowCount: number; } export declare function navigator({ viewport, scrollIntoView, getRootCell, isRowDetailExpanded, gridId, position: cp, nextKey, prevKey, upKey, downKey, homeKey, endKey, pageDownKey, pageUpKey, columnCount, rowCount, }: NavigatorParams): (ev: { key: string; ctrlKey: boolean; metaKey: boolean; shiftKey: boolean; preventDefault: () => void; stopPropagation: () => void; }, ignoreInputFocus: boolean) => void;