import { ISuggestValue, ISuggestValueData, ISuggestValues, SuggestDisplayPriority } from '../models'; /** * Case-insensitive comparer. * * @param str1 Left hand input. * @param str2 Right hand input. * @returns If the strings are equal. * @ignore */ export declare const caseInsensitiveCompare: (str1: string, str2: string) => boolean; /** * Generates an in memory search factory. * * @param searchTerm The term searched for. * @param sourceList The items that need to be filtered. * @ignore */ export declare const inMemorySearch: (searchTerm: string, sourceList: ISuggestValue[]) => import("rxjs").Observable>; /** * Clears falsy values from the array. * * @export * @param value The value that needs to be normalized. * @returns The normalized value. * @ignore */ export declare function checkAndNormalizeValue(value: ISuggestValue[]): ISuggestValue[]; /** * Sorts the items according to the configured display priority and render direction. * * @export * @param data The item list that needs to be sorted. * @param displayPriority The requested display priority. * @param value The selected items. * @param isDown If the dropdown direction is `down`. * @returns The sorted item array. * @ignore */ export declare function sortByPriorityAndDirection(data: ISuggestValue[], displayPriority: SuggestDisplayPriority, value: ISuggestValue[], isDown: boolean): ISuggestValue[]; /** * @ignore */ export declare function mapInitialItems({ total, data }: ISuggestValues, displayPriority: SuggestDisplayPriority, value: ISuggestValue[], loadingLabel: string, isDown: boolean, isLazy?: boolean): ISuggestValue[]; /** * @ignore */ export declare function generateLoadingInitialCollection(text: string, total?: number): ISuggestValue[]; /** * @ignore */ export declare function setLoadedState(data: ISuggestValueData[], start: number, currentItems: ISuggestValue[], isLazy?: boolean): ISuggestValue[]; /** * @ignore */ export declare function toSuggestValue(inputValue: ISuggestValue | string, isCustom?: boolean): ISuggestValue; /** * @ignore */ export declare function resetUnloadedState(items: ISuggestValue[], mappedStart: number, mappedEnd: number): void; /** * @ignore */ export declare function setPendingState(items: ISuggestValue[], mappedStart: number, mappedEnd: number): void;