export type ApprovalInfo = {
    summary: string;
    riskLevel?: "low" | "medium" | "high";
    allowableScope?: {
        parentItemId: string;
        parentItemPath?: string;
        operationType: string;
    };
};
export type ToolCall = {
    id: string;
    displayName?: string;
    function: {
        name: string;
        arguments: string;
        result?: string | object;
        error?: string;
    };
    requiresApproval?: ApprovalInfo;
    isCompleted?: boolean;
    messageId?: string;
    dbMessageId?: string;
    responseTimeMs?: number;
    createdDate?: string;
};
export type Message = {
    id: string;
    content: string;
    reasoning?: string;
    formattedContent?: string;
    name: string;
    role: string;
    tool_calls?: ToolCall[];
    tool_call_id?: string;
    createdDate?: string;
};
export type AiContext = {
    promptData: any;
    endpoint?: string;
    callback?: (response: any) => void;
};
