import { IMultiSelectionOption } from './IMultiSelectionOption';
import { IStaticOptionsFetchConfig } from './IStaticOptionsFetchConfig';
export interface IMultiSelectionListDataSource {
  getStaticOptions: (fieldName: string, options?: IStaticOptionsFetchConfig) => Promise<IMultiSelectionOption[] | undefined>;
  fetchData: (filterTerm: string, fieldName: string) => Promise<IMultiSelectionOption[]>;
  sortItems: (fieldName: string, items: IMultiSelectionOption[]) => IMultiSelectionOption[];
  refresh?: () => void;
}
