import type { PositionState } from "./+types"; export interface TrackFocusParams { readonly gridId: string; readonly focusActive: PositionState; readonly onElementFocused: (has: boolean) => void; readonly onHasFocusChange: (has: boolean) => void; readonly element: HTMLElement; } export declare function trackFocus({ gridId, focusActive, onHasFocusChange, onElementFocused, element, }: TrackFocusParams): () => void;