import * as React from 'react';
import type { Tab } from 'rc-tabs/lib/interface';
import type { TabsProps } from '..';
export default function useLegacyItems(items?: TabsProps['items'], children?: React.ReactNode): Tab[];
