import type ListItem from "@arcgis/core/widgets/LayerList/ListItem.js";

export type TableSupportedLayers = "knowledge-graph" | "map-image" | "tile";

/** @param event */
export type CanSortFunction = (event: CanSortEvent) => boolean;

export interface CanSortEvent {
  selected?: ListItem | null;
  from?: ListItem | null;
  to?: ListItem | null;
}