import type { RefObject } from '@mui/x-internals/types'; import type { GridScrollApi } from "../models/api/gridScrollApi.mjs"; /** * Focuses an element while preserving the grid scroll position. * * Uses the native `preventScroll` focus option when supported, and otherwise * restores the scroll position manually after focusing. */ export declare function focusElement(element: HTMLElement, apiRef: RefObject): void;