import { Ref } from 'vue'; import { CheckboxValueType } from './Cell'; import { PaginationProps } from './Pagination.type'; import { ApiFn, ConfigParams, TableColumns, TableDataWithCheck, TableProps } from './Table.type'; export declare function useTable>>(config: ConfigParams, props: TableProps): { loading: Ref; setLoading: (bool?: boolean) => void; tableColumns: globalThis.ComputedRef[]>; pagination: UnReadOnly void; updatePage: (page: number) => void; }>; getDataByPage: (page?: number) => Promise; tableData: Ref[], TableDataWithCheck[]>; internalUpdateFilterParams: (params: Partial[0]>) => any; updateFilterParams: (params: Partial[0]>) => any; resetFilterParams: () => any; handlerAllSelection: (rows: TableDataWithCheck[], value: CheckboxValueType & boolean) => void; handlerSelection: (row: TableDataWithCheck, value: CheckboxValueType & boolean) => void; handlerRadio: (row: TableDataWithCheck, value: CheckboxValueType & boolean) => void; clearSelection: () => void; selectionDataChecked: globalThis.ComputedRef[]>; getSelection: () => Promise[]>; };