import React from "react"; import { ReactNextElement } from "@next-core/react-element"; import "@next-core/theme"; import type { ActionType, SimpleActionType } from "@next-bricks/basic/mini-actions"; export interface ProjectConversationsProps { list?: Conversation[]; urlTemplate?: string; actions?: ActionType[]; goals?: Goal[]; } export interface Conversation { conversationId: string; title: string; startTime: number; description?: string; goalInstanceId?: string; username?: string; } export interface ActionClickDetail { action: SimpleActionType; item: Conversation; } export interface Goal { instanceId: string; title: string; } /** * 构件 `ai-portal.project-conversations` */ export declare class ProjectConversations extends ReactNextElement implements ProjectConversationsProps { #private; accessor list: Conversation[] | undefined; accessor urlTemplate: string | undefined; accessor actions: ActionType[] | undefined; accessor goals: Goal[] | undefined; render(): React.JSX.Element; }