import type { AgentCheckpointStore, AgentRunStore, CursorAgentPlatformOptions, RunEventNotifier, RunEventStore } from "@anysphere/cursor-sdk-local-runtime/run-store"; import type { AgentMessage, AgentOperationOptions, CursorRequestOptions, GetAgentMessagesOptions, GetAgentOptions, GetRunOptions, ListAgentsOptions, ListRunsOptions, ListResult as PublicListResult, SDKAgent, SDKAgentInfo, SDKModel, SDKRepository, SDKUser } from "./agent.js"; import { type SDKMessage } from "./messages.js"; import type { AgentOptions } from "./options.js"; import { type Run } from "./run.js"; export declare class CursorAgentPlatform { readonly store: AgentRunStore; readonly checkpointStore: AgentCheckpointStore; readonly eventStore: RunEventStore | undefined; readonly eventNotifier: RunEventNotifier | undefined; private readonly workspaceRef; constructor(store: AgentRunStore, checkpointStore: AgentCheckpointStore, eventStore: RunEventStore | undefined, eventNotifier: RunEventNotifier | undefined, workspaceRef: string); createAgent(options: AgentOptions): Promise; resumeAgent(agentId: string, options: Partial): Promise; listAgents(options?: ListAgentsOptions): Promise>; getAgent(agentId: string): Promise; archiveAgent(agentId: string): Promise; unarchiveAgent(agentId: string): Promise; deleteAgent(agentId: string): Promise; listRuns(agentId: string, options?: ListRunsOptions): Promise>; getRun(runId: string): Promise; getAgentMessages(agentId: string, options?: GetAgentMessagesOptions): Promise; appendRunMessage(message: SDKMessage): Promise; private toDetachedStoreRun; private createRunEventTailer; private findRunById; } export declare function createAgentPlatform(options?: CursorAgentPlatformOptions): Promise; export declare function createDefaultAgent(options: AgentOptions): Promise; export declare function resumeDefaultAgent(agentId: string, options?: Partial): Promise; export declare function listDefaultAgents(options?: ListAgentsOptions): Promise>; export declare function listDefaultRuns(agentId: string, options?: ListRunsOptions): Promise>; export declare function getDefaultRun(runId: string, options?: GetRunOptions): Promise; export declare function getDefaultAgentMessages(agentId: string, options?: GetAgentMessagesOptions): Promise; export declare function getDefaultAgent(agentId: string, options?: GetAgentOptions): Promise; export declare function archiveDefaultAgent(agentId: string, options?: AgentOperationOptions): Promise; export declare function unarchiveDefaultAgent(agentId: string, options?: AgentOperationOptions): Promise; export declare function deleteDefaultAgent(agentId: string, options?: AgentOperationOptions): Promise; export declare function getDefaultMe(options?: CursorRequestOptions): Promise; export declare function listDefaultModels(options?: CursorRequestOptions): Promise; export declare function listDefaultRepositories(options?: CursorRequestOptions): Promise; //# sourceMappingURL=platform.d.ts.map