import React from 'react'; /** 空状态语义类型:会拼到 i18n key 中(`chat.history.empty.${type}.title`) */ export type HistoryEmptyType = 'chat' | 'task'; export interface HistoryEmptyProps { /** * 业务语义:决定使用 `chat.history.empty.chat.*` 还是 `chat.history.empty.task.*`。 * 默认 `chat`,保持向后兼容。 */ type?: HistoryEmptyType; } /** * HistoryEmpty 组件 - 历史记录空状态展示 * * 当历史记录列表为空时显示的占位组件,提供友好的空状态提示。 * 支持 `chat` / `task` 两种业务语义,分别对应不同的 i18n key 与默认文案。 * * @component * * @example * ```tsx * // 默认对话场景 * * * // 任务场景 * * ``` * * @returns {React.ReactElement} 渲染的空状态组件 */ export declare const HistoryEmpty: React.FC;