import { ElementRef, OnInit, AfterViewInit, OnDestroy } from "@angular/core"; import { CopilotChatMessageView } from "./copilot-chat-message-view"; import { CopilotChatViewScrollToBottomButton } from "./copilot-chat-view-scroll-to-bottom-button"; import { StickToBottom } from "../../directives/stick-to-bottom"; import { Message } from "@ag-ui/client"; import * as i0 from "@angular/core"; /** * ScrollView component for CopilotChatView * Handles auto-scrolling and scroll position management */ export declare class CopilotChatViewScrollView implements OnInit, AfterViewInit, OnDestroy { private cdr; autoScroll: import("@angular/core").InputSignal; inputContainerHeight: import("@angular/core").InputSignal; isResizing: import("@angular/core").InputSignal; inputClass: import("@angular/core").InputSignal; 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; })[]>; messageView: import("@angular/core").InputSignal; messageViewClass: import("@angular/core").InputSignal; showCursor: import("@angular/core").InputSignal; scrollToBottomButton: import("@angular/core").InputSignal; scrollToBottomButtonClass: import("@angular/core").InputSignal; 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; }>; scrollContainer?: ElementRef; contentContainer?: ElementRef; stickToBottomDirective?: StickToBottom; protected readonly defaultMessageViewComponent: typeof CopilotChatMessageView; protected readonly defaultScrollToBottomButtonComponent: typeof CopilotChatViewScrollToBottomButton; protected hasMounted: import("@angular/core").WritableSignal; protected showScrollButton: import("@angular/core").WritableSignal; protected isAtBottom: import("@angular/core").WritableSignal; protected paddingBottom: import("@angular/core").Signal; protected computedClass: import("@angular/core").Signal; private destroy$; private platformId; private scrollPositionService; ngOnInit(): void; ngAfterViewInit(): void; /** * Handle isAtBottom change from StickToBottom directive */ onIsAtBottomChange(isAtBottom: boolean): void; /** * Scroll to bottom for manual mode */ scrollToBottom(): void; /** * Scroll to bottom for stick-to-bottom mode */ scrollToBottomFromStick(): void; ngOnDestroy(): void; scrollToBottomOutputs: { clicked: () => void; }; scrollToBottomFromStickOutputs: { clicked: () => void; }; messageViewContext(): any; scrollToBottomContext(): any; scrollToBottomFromStickContext(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }