import type { CSSMotionProps } from '@rc-component/motion'; import type { ConfigProviderProps, GetProp } from 'antd'; import React from 'react'; import type { GroupInfoType } from './hooks/useGroupable'; export interface GroupTitleProps { children?: React.ReactNode; className?: string; } interface GroupTitleContextType { prefixCls?: GetProp; enableCollapse: boolean; expandedKeys: string[]; onItemExpand: ((curKey: string) => void) | undefined; collapseMotion: CSSMotionProps; groupInfo: Omit & { collapsible: boolean; }; } export declare const GroupTitleContext: React.Context; declare const GroupTitle: React.FC; export default GroupTitle;