import React, { type ReactNode } from 'react'; import type { FormSelectMenuSearchListboxApi } from './type'; export declare const formSelectNoResultsLabel: React.JSX.Element; export declare const formSelectLoadingLabel: React.JSX.Element; export declare function resolveFormSelectOptionLabel(option: unknown, renderOption?: (option: unknown) => ReactNode, getOptionLabel?: (option: unknown) => string): ReactNode; export declare function optionLabelMatchesMenuSearch(option: unknown, query: string, getOptionLabel?: (option: unknown) => string): boolean; /** * Returns options unchanged: disables MUI’s default input-based filtering (parent/API owns `options`) * and keeps a stable `filterOptions` reference so it is not recreated every render. */ export declare function formSelectAutocompletePassthroughFilterOptions(opts: T[]): T[]; /** * Stable Autocomplete listbox + in-menu search row, bound to `apiRef` (read `apiRef.current` each render). */ export declare function createMenuSearchListbox(apiRef: React.MutableRefObject): React.ForwardRefExoticComponent & React.RefAttributes>;