import { ConnectionType, CoordinatorResponse } from "delphi-node-sdk";
import { ChatCompletionRequestMessage } from "openai";
export type ChatRequest = {
    messages: ChatCompletionRequestMessage[];
};
export type ChatResponse = {
    messages: ChatCompletionRequestMessage[];
    response: ChatCompletionRequestMessage;
    status: "success";
} | {
    error: string;
    status: "error";
};
export type ChatQueryAttachment = {
    type: "query";
    question: string;
    query: string;
    name: string;
    results: string;
    url?: string;
    connectionType: ConnectionType;
};
export type ChatChartAttachment = {
    type: "chart";
    chart: CoordinatorResponse["chart"];
};
export type ChatDashboardAttachment = {
    type: "dashboard";
    dashboards: {
        name: string;
        url: string;
    }[];
};
export type ChatAttachment = ChatQueryAttachment | ChatChartAttachment | ChatDashboardAttachment;
