import React from 'react'; interface IGanttSortLabelOnChange { (dataKeyValues: IGanttSortLabelSortItem[]): void; (dataKey: string, sorted: 'asc' | 'desc' | undefined): void; } export interface IGanttSortLabelProps { dataKey: string; /** 是否启用本字段联合其它字段排序 @default false */ unionSort?: boolean; onChange?: IGanttSortLabelOnChange; } export interface IGanttSortLabelSortItem extends Pick { sorted: 'asc' | 'desc' | undefined; } interface IGanttSortLabelHookData { origin: Array; data: string[]; loading: boolean; } interface IUseGanttSortLabelConfigProps { projectId?: string; } export declare function useGanttSortLabel({ projectId }: IUseGanttSortLabelConfigProps): [IGanttSortLabelHookData, IGanttSortLabelProps['onChange']]; declare const GanttSortLabel: React.FC; export default GanttSortLabel;