import { SxProps } from '@mui/material'; import { ExtraSelectOptions, SearchOptions } from './Context/Provider'; export type FoodsSelectProps = { id?: string; selectedOption: T | null; options: T[]; onChange: (selectedValue: T | null) => void; getId: (item: T) => number | string; getName: (item: T) => string; getIcon?: (item: T) => React.JSX.Element; originalValue?: T; BoxProps?: SxProps; BoxOptionsProps?: SxProps; unit?: string; infiniteScroll?: FoodsSelectInfiniteScrollOptions; }; export type FoodsSelectInfiniteScrollOptions = { hasNextPage: boolean; isFetchingNextPage: boolean; onLoadMore: () => void; loadingText?: string; }; export type SelectWrapperProps = FoodsSelectProps & ExtraSelectOptions; export declare const FoodsSelect: (props: SelectWrapperProps) => import("react/jsx-runtime").JSX.Element; export type SelectWrapperWithServerPaginationProps = Omit, "disableSearch"> & SearchOptions; export declare const FoodsSelectServerPagination: (props: SelectWrapperWithServerPaginationProps) => import("react/jsx-runtime").JSX.Element;