import { Type, TemplateRef } from "@angular/core"; import { Message } from "@ag-ui/client"; /** * Props for CopilotChatView component */ export interface CopilotChatViewProps { messages?: Message[]; autoScroll?: boolean; messageViewComponent?: Type; messageViewTemplate?: TemplateRef; messageViewClass?: string; scrollViewComponent?: Type; scrollViewTemplate?: TemplateRef; scrollViewClass?: string; scrollToBottomButtonComponent?: Type; scrollToBottomButtonTemplate?: TemplateRef; scrollToBottomButtonClass?: string; inputComponent?: Type; inputTemplate?: TemplateRef; inputContainerComponent?: Type; inputContainerTemplate?: TemplateRef; inputContainerClass?: string; featherComponent?: Type; featherTemplate?: TemplateRef; featherClass?: string; disclaimerComponent?: Type; disclaimerTemplate?: TemplateRef; disclaimerClass?: string; disclaimerText?: string; } /** * Context for custom layout template */ export interface CopilotChatViewLayoutContext { messageView: any; input: any; scrollView: any; scrollToBottomButton: any; feather: any; inputContainer: any; disclaimer: any; }