import { Theme } from '@mui/material/styles'; import { WindowSize } from '../../../context/windowSizeProvider'; import { Space } from '../../../designSystem/zeniConstants'; import { AutoCompleteSearchTypes } from './autoCompleteProps'; export declare const getAutoCompleteUIView: (type: AutoCompleteSearchTypes, windowSize: WindowSize, themeContext: Theme) => { showChevronIconInDropDown: boolean; showAdornment: boolean; showSearchIconInputBox: boolean; showCancelIconInputBox: boolean; showInputBoxHover: boolean; hasInputBoxShadow: boolean; inputPlaceholder: string; styles: { autoCompleteContainerStyles: { minHeight: Space; border: string; borderRadius: Space; backgroundColor: string; padding?: undefined; }; resultContentContainer: { border: string; backgroundColor: string; borderRadius: Space; }; resultContainer: { maxHeight: string; }; autoCompleteEmpty: { paddingLeft: Space; }; inputBoxContainerStyles: { width: string; backgroundColor: string; padding: Space; }; inputBoxStyles: { padding: Space; backgroundColor: string; "&:focus": { padding: Space; }; }; headerStyles: { color: string; }; }; } | { showAdornment: boolean; showChevronIconInDropDown: boolean; showSearchIconInputBox: boolean; showCancelIconInputBox: boolean; showInputBoxHover: boolean; hasInputBoxShadow: boolean; inputPlaceholder: string; styles: { autoCompleteContainerStyles: { padding: string; minHeight: Space; border: string; borderRadius: Space; backgroundColor: string; }; inputBoxContainerStyles: { width: string; backgroundColor: string; padding: Space; }; headerStyles: { color: string; }; resultContentContainer: { border: string; backgroundColor: string; borderRadius: Space; }; resultContainer: { maxHeight: string; }; autoCompleteEmpty: { paddingLeft: Space; }; inputBoxStyles: { padding: Space; backgroundColor: string; "&:focus": { padding: Space; }; }; }; }; /** * * @param name * @param highlightText * @returns This function will look for consecutive location of highlight text within the name * and will split the name into three parts */ export declare const splitEntityNameForAutoComplete: (name: string, highlightText: string) => { endName: string; highlight: string; startName: string; };