import type { AgentSource, ActionExecuted } from './sdk-types';
export interface ChatMessage {
    id: string;
    role: 'user' | 'agent';
    content: string;
    timestamp: Date;
    sources?: AgentSource[];
    actionsExecuted?: ActionExecuted[];
    file?: ChatFile;
    isStreaming?: boolean;
    error?: string;
}
export interface ChatFile {
    name: string;
    url: string;
    type: string;
    size?: number;
}
export interface ChatState {
    messages: ChatMessage[];
    isLoading: boolean;
    error: string | null;
}
