import React, { type FC } from 'react';
type TaskStatus = 'success' | 'pending' | 'loading' | 'error';
export interface TaskItem {
    key: string;
    title?: React.ReactNode;
    content?: React.ReactNode | React.ReactNode[];
    status: TaskStatus;
}
export interface TaskItemInput {
    items: TaskItem[];
}
export interface TaskListProps {
    /** 任务列表数据 */
    data: TaskItemInput;
    /** 点击任务项时的回调 */
    onItemClick?: (item: TaskItem) => void;
}
export declare const TaskList: FC<TaskListProps>;
export {};
