import { DefaultTableSearch } from './useTableSearch';
import { ByRestIdListType } from '../type';

export default function $useFetchTable(): {
    getTableList: (searchParams?: DefaultTableSearch) => Promise<{
        areaList: {
            id: string;
            name: string;
        }[];
        tableQuantityList: number[];
        allTableListData: ByRestIdListType[];
        tableListData: ByRestIdListType[];
    }>;
    selectDataFun: (allTableListData: ByRestIdListType[], searchParams: DefaultTableSearch) => ByRestIdListType[];
    getTableQuantityList: (allTableListData: ByRestIdListType[]) => number[];
};
