type TableBuilderListData = {
  id: string;
};

type TableBuilderListKeys = "loading" | "error" | "empty";

type TableBuilderBodyProps = {
  list: TableBuilderListData[] | TableBuilderListKeys;
  columns: Record<string, any>[];
  filters: any;
  fetchData: any;
};

type StateMessageProps = {
  icon: IconDefinition;
  title: string;
  description: string;
  className: string;
  fetchData?: any;
};

type TableBuilderBodyDataProps = {
  list: TableBuilderListData[];
  columns: Record<string, any>[];
};

type FooterButtonProps = {
  icon: IconDefinition;
  index: number;
  disabled: boolean;
  listInactive: boolean;
  onPageChange: (index: number) => void;
};

type FetchTableBuilder = {
  count: number;
  list: any[];
};
