import { TemplateRef, Type } from "@angular/core"; import type { Message } from "@ag-ui/core"; import { CopilotChatAssistantMessage } from "./copilot-chat-assistant-message"; import { CopilotChatUserMessage } from "./copilot-chat-user-message"; import { CopilotChatMessageViewCursor } from "./copilot-chat-message-view-cursor"; import * as i0 from "@angular/core"; /** * CopilotChatMessageView component - Angular port of the React component. * Renders a list of chat messages with support for custom slots and layouts. * DOM structure and Tailwind classes match the React implementation exactly. */ export declare class CopilotChatMessageView { messages: import("@angular/core").InputSignal<({ role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; })[]>; showCursor: import("@angular/core").InputSignal; isLoading: import("@angular/core").InputSignal; inputClass: import("@angular/core").InputSignal; assistantMessageComponent: import("@angular/core").InputSignal>; assistantMessageTemplate: import("@angular/core").InputSignal>; assistantMessageClass: import("@angular/core").InputSignal; userMessageComponent: import("@angular/core").InputSignal>; userMessageTemplate: import("@angular/core").InputSignal>; userMessageClass: import("@angular/core").InputSignal; cursorComponent: import("@angular/core").InputSignal>; cursorTemplate: import("@angular/core").InputSignal>; cursorClass: import("@angular/core").InputSignal; customLayoutTemplate?: TemplateRef; assistantMessageThumbsUp: import("@angular/core").OutputEmitterRef<{ message: Message; }>; assistantMessageThumbsDown: import("@angular/core").OutputEmitterRef<{ message: Message; }>; assistantMessageReadAloud: import("@angular/core").OutputEmitterRef<{ message: Message; }>; assistantMessageRegenerate: import("@angular/core").OutputEmitterRef<{ message: Message; }>; userMessageCopy: import("@angular/core").OutputEmitterRef<{ message: Message; }>; userMessageEdit: import("@angular/core").OutputEmitterRef<{ message: Message; }>; protected readonly defaultAssistantComponent: typeof CopilotChatAssistantMessage; protected readonly defaultUserComponent: typeof CopilotChatUserMessage; protected readonly defaultCursorComponent: typeof CopilotChatMessageViewCursor; protected messagesValue: import("@angular/core").Signal<({ role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; })[]>; protected showCursorValue: import("@angular/core").Signal; protected isLoadingValue: import("@angular/core").Signal; computedClass: import("@angular/core").Signal; layoutContext: import("@angular/core").Signal<{ isLoading: boolean; messages: ({ role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; })[]; showCursor: boolean; messageElements: ({ role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; })[]; }>; assistantMessageSlot: import("@angular/core").Signal>; userMessageSlot: import("@angular/core").Signal>; cursorSlot: import("@angular/core").Signal>; mergeAssistantProps(message: Message): { message: { role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; }; messages: ({ role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; })[]; isLoading: boolean; inputClass: string; }; mergeUserProps(message: Message): { message: { role: "developer"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "system"; content: string; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "assistant"; id: string; name?: string | undefined; content?: string | undefined; encryptedValue?: string | undefined; toolCalls?: { function: { name: string; arguments: string; }; type: "function"; id: string; encryptedValue?: string | undefined; }[] | undefined; } | { role: "user"; content: string | ({ type: "text"; text: string; } | { type: "image"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "audio"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "video"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "document"; source: { type: "data"; value: string; mimeType: string; } | { type: "url"; value: string; mimeType?: string | undefined; }; metadata?: unknown; } | { type: "binary"; mimeType: string; id?: string | undefined; data?: string | undefined; url?: string | undefined; filename?: string | undefined; })[]; id: string; name?: string | undefined; encryptedValue?: string | undefined; } | { role: "tool"; toolCallId: string; content: string; id: string; encryptedValue?: string | undefined; error?: string | undefined; } | { role: "activity"; content: Record; id: string; activityType: string; } | { role: "reasoning"; content: string; id: string; encryptedValue?: string | undefined; }; inputClass: string; }; trackByMessageId(index: number, message: Message): string; constructor(); handleAssistantThumbsUp(event: { message: Message; }): void; handleAssistantThumbsDown(event: { message: Message; }): void; handleAssistantReadAloud(event: { message: Message; }): void; handleAssistantRegenerate(event: { message: Message; }): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }