import { Theme } from '@mui/material/styles'; import { SxProps, SystemStyleObject } from '@mui/system'; import * as React from 'react'; export declare function arrayIncludes(array: T[] | readonly T[], itemOrItems: T | T[]): boolean; export declare const onSpaceOrEnter: (innerFn: (ev: React.MouseEvent | React.KeyboardEvent) => void, externalEvent?: (event: React.KeyboardEvent) => void) => (event: React.KeyboardEvent) => void; export declare const executeInTheNextEventLoopTick: (fn: () => void) => void; export declare const getActiveElement: (root?: Document | ShadowRoot) => Element | null; /** * Gets the index of the focused list item in a given ul list element. * * @param {HTMLUListElement} listElement - The list element to search within. * @returns {number} The index of the focused list item, or -1 if none is focused. */ export declare const getFocusedListItemIndex: (listElement: HTMLUListElement) => number; export declare const DEFAULT_DESKTOP_MODE_MEDIA_QUERY = "@media (pointer: fine)"; export declare function mergeSx(...sxProps: (SxProps | undefined)[]): ReadonlyArray | ((theme: Theme) => SystemStyleObject)>;