import { NextClawRealtimeSubscription } from "./types/nextclaw-realtime.types.js"; import { NextClawRealtimeHandler, NextClawRealtimeSubscribeOptions } from "./types/nextclaw-request.types.js"; import { NextClawAgentRunStreamHandler, NextClawAgentRunStreamOptions, NextClawAgentRunStreamSubscription } from "./services/agent-runs.service.js"; import { ListSessionMessagesParams } from "./services/sessions.service.js"; import { NextClawClient } from "./nextclaw-client.manager.js"; import * as _$_nextclaw_shared0 from "@nextclaw/shared"; import * as _$_nextclaw_server0 from "@nextclaw/server"; import * as _$_nextclaw_ncp0 from "@nextclaw/ncp"; //#region src/nextclaw-app-client.utils.d.ts declare function createNextClawAppClient(hostClient: NextClawClient): { sessions: { list: (params?: { limit?: number; peerId?: string; }) => Promise<_$_nextclaw_server0.UiNcpSessionListView>; get: (sessionId: string) => Promise<_$_nextclaw_ncp0.NcpSessionSummary>; listMessages: (sessionId: string, options?: number | ListSessionMessagesParams) => Promise<_$_nextclaw_server0.UiNcpSessionMessagesView>; }; agents: { list: () => Promise<_$_nextclaw_server0.AgentProfileView[]>; resolveAvatarUrl: (agentId: string) => string; }; agentRuns: { send: (payload: _$_nextclaw_shared0.AgentRunSendIngressPayload) => Promise<_$_nextclaw_ncp0.NcpRunHandle>; stream: (payload: _$_nextclaw_ncp0.NcpStreamRequestPayload, handler: NextClawAgentRunStreamHandler, options?: NextClawAgentRunStreamOptions) => NextClawAgentRunStreamSubscription; abort: (payload: _$_nextclaw_ncp0.NcpMessageAbortPayload) => Promise<{ accepted: true; }>; }; serviceActions: { list: (options?: { bridgeSessionToken?: string; } & { appId?: string; }) => Promise<_$_nextclaw_server0.ServiceActionListView>; invoke: (actionId: string, input?: Record, options?: { bridgeSessionToken?: string; }) => Promise<_$_nextclaw_server0.ServiceActionInvokeResultView>; }; assets: { upload: (files: readonly File[]) => Promise<_$_nextclaw_server0.UiNcpAssetPutView>; }; events: { subscribe: (handler: NextClawRealtimeHandler, options?: NextClawRealtimeSubscribeOptions) => NextClawRealtimeSubscription; }; }; type NextClawAppClient = ReturnType; type NextClawPanelAppNamespace = { client?: NextClawAppClient; } & Record; declare global { interface Window { nextclaw?: NextClawPanelAppNamespace; } } //# sourceMappingURL=nextclaw-app-client.utils.d.ts.map //#endregion export { NextClawAppClient, NextClawPanelAppNamespace, createNextClawAppClient }; //# sourceMappingURL=nextclaw-app-client.utils.d.ts.map