import type { TableProps } from '@rc-component/table'; import type { AnyObject, GetProp } from '../_util/type'; import type { TableLocale } from './interface'; type ExpandIconComponent = GetProp, 'components'>['ExpandIcon']; export default function useExpandIcon(locale: TableLocale, ExpandIcon: ExpandIconComponent | undefined, ...legacyRenderExpandIcon: (TableProps['expandIcon'] | undefined)[]): ExpandIconComponent; export {};