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