import { ReactNode } from 'react'; import { ListItemProps } from '@synerise/ds-list-item'; import { BaseItemType, BaseSectionType, BaseSectionTypeWithFolders } from '../../ItemPickerNew/types/baseItemSectionType.types'; import { ItemPickerListTexts } from '../../ItemPickerNew/types/itemPickerListTexts.types'; import { TitleListItemProps } from '../ItemPickerList.types'; export declare const getFolderItem: (item: ListItemProps, onClick: ListItemProps["onClick"]) => ListItemProps; export declare const getShowMoreItem: (label: ReactNode, onClick: ListItemProps["onClick"]) => ListItemProps; export declare const getTitleItem: (titleText: ReactNode) => TitleListItemProps; export declare const getListItem: (item: ItemType, isSelected: (item: ItemType) => boolean, searchQuery?: string, onItemSelect?: (item: ItemType) => void, renderHoverTooltip?: () => JSX.Element, isSearchParam?: boolean) => ListItemProps; export declare const matchesSearchQuery: (text: ReactNode, searchQuery: string) => boolean; export declare const getItemsSectionTitle: (texts: ItemPickerListTexts, showItemsSectionLabel: boolean, searchQuery?: string) => TitleListItemProps[]; export declare const getRecentItems: ({ recents, texts, isSelected, handleItemSelect, searchQuery, isSearchParam, }: { recents?: ItemType[]; texts: ItemPickerListTexts; isSelected: (item: ItemType) => boolean; handleItemSelect?: (item: ItemType) => void; searchQuery?: string; isSearchParam: boolean; }) => (ListItemProps | TitleListItemProps)[]; export declare const getItems: ({ items, texts, titlePath, searchQuery, isSelected, handleItemSelect, showItemsSectionLabel, showMoreOnClick, maxItems, isSearchParam, }: { items?: ItemType[]; titlePath?: ReactNode[]; texts: ItemPickerListTexts; isSelected: (item: ItemType) => boolean; handleItemSelect?: (item: ItemType) => void; showMoreOnClick?: () => void; searchQuery?: string; showItemsSectionLabel: boolean; maxItems?: number; isSearchParam: boolean; }) => (ListItemProps | TitleListItemProps)[]; export declare const getFolderItems: >({ handleSectionChange, sections, }: { sections?: SectionType[]; handleSectionChange: (section?: SectionType | BaseSectionType) => void; }) => (ListItemProps | TitleListItemProps)[]; export declare const getInformationCardTooltip: (item: ItemType) => (() => JSX.Element) | undefined;