import { RegularTableElement } from "regular-table"; import type { DatagridModel, SelectedPositionMap } from "../types.js"; import { CollectedCell } from "./types.js"; /** * Apply focus style to the selected cell. * Optimized to use collected cells instead of querySelectorAll. */ export declare function applyFocusStyle(_model: DatagridModel, cells: CollectedCell[], regularTable: RegularTableElement, selectedPositionMap: SelectedPositionMap): void; /** * Standalone function to focus the selected cell. * This collects cells from the table and tries to focus the selected position. * Returns true if focus was successful, false otherwise. * * Used by edit_keydown.ts for keyboard navigation. */ export declare function focusSelectedCell(regularTable: RegularTableElement, selectedPositionMap: SelectedPositionMap): boolean;