import { SizeType } from 'antd/es/config-provider/SizeContext'; interface ISize { (fieldSize: SizeType, searchSize: SizeType, tableSize: SizeType): { searchSize: SizeType; tableSize: SizeType; }; } declare const useSize: ISize; export { useSize };