import { ChatService, ChatSession, ChatSessionMetadata } from '@theia/ai-chat'; import { Emitter, Event, ILogger, PreferenceService } from '@theia/core'; import { ApplicationShell } from '@theia/core/lib/browser'; import { UnreadStateProvider } from './chat-session-item'; import { SectionedSessions, SessionRow } from './chat-session-list-components'; export declare class ChatSessionListService implements UnreadStateProvider { protected readonly chatService: ChatService; protected readonly preferenceService: PreferenceService; protected readonly shell: ApplicationShell; protected readonly logger: ILogger; private readonly unreadSessions; private readonly onUnreadChangedEmitter; readonly onUnreadChanged: Event; protected _persistedSessions: ChatSessionMetadata[]; /** Expanded root session IDs (default collapsed). */ protected expandedRoots: Set; protected readonly onStateChangedEmitter: Emitter; readonly onStateChanged: Event; protected init(): void; isUnread(sessionId: string): boolean; protected watchSession(session: ChatSession): void; protected markSessionRead(sessionId: string): void; protected unwatchSession(sessionId: string): void; private countCompleted; isPersistenceEnabled(): boolean; protected loadSessions(): Promise; getSections(): SectionedSessions; toggleExpand(sessionId: string): void; isExpanded(sessionId: string): boolean; sessionRequiresAction(sessionId: string): boolean; descendantRequiresAction(row: SessionRow): boolean; protected expandAncestors(session: ChatSession): void; buildRows(sections: SectionedSessions): SessionRow[]; } //# sourceMappingURL=chat-session-list-service.d.ts.map