import { NextClawRealtimeSubscription } from "../types/nextclaw-realtime.types.js"; import { NextClawRealtimeHandler, NextClawRealtimeSubscribeOptions } from "../types/nextclaw-request.types.js"; import { RequestService } from "./request.service.js"; import { EventBus } from "@nextclaw/shared"; import { NcpSessionContextCompactionView, NcpSessionSkillsView, SessionPatchUpdate, UiNcpAssetPutView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionQueuedInputView, UiNcpSessionQueuedInputsView } from "@nextclaw/server"; import { NcpSessionSummary } from "@nextclaw/ncp"; //#region src/services/sessions.service.d.ts type ListSessionMessagesParams = { limit?: number; cursor?: string; signal?: AbortSignal; }; declare class SessionsService { private readonly requestService; private readonly eventBus; constructor(requestService: RequestService, eventBus: EventBus); readonly list: (params?: { limit?: number; peerId?: string; }) => Promise; readonly get: (sessionId: string) => Promise; readonly listMessages: (sessionId: string, options?: number | ListSessionMessagesParams) => Promise; readonly listSkills: (sessionId: string, params?: { projectRoot?: string | null; }) => Promise; readonly listQueuedInputs: (sessionId: string) => Promise; readonly deleteQueuedInput: (sessionId: string, queuedInputId: string) => Promise; readonly update: (sessionId: string, patch: SessionPatchUpdate) => Promise; readonly compactContext: (sessionId: string) => Promise; readonly delete: (sessionId: string) => Promise<{ deleted: boolean; sessionId: string; }>; readonly uploadAssets: (files: readonly File[]) => Promise; readonly subscribe: (handler: NextClawRealtimeHandler, _options?: NextClawRealtimeSubscribeOptions) => NextClawRealtimeSubscription; } //#endregion export { ListSessionMessagesParams, SessionsService }; //# sourceMappingURL=sessions.service.d.ts.map