import React from 'react'; import type { PrimaryTableRef } from '../interface'; import type { PrimaryTableCol, TableRowData, TdPrimaryTableProps } from '../type'; export default function useFilter(props: TdPrimaryTableProps, primaryTableRef: React.MutableRefObject): { hasEmptyCondition: boolean; isTableOverflowHidden: boolean; renderFilterIcon: ({ col, colIndex }: { col: PrimaryTableCol; colIndex: number; }) => React.JSX.Element; renderFirstFilterRow: () => React.JSX.Element; };