import type { PermissionMode } from '../agent/types/sdk-types.js'; import type { ContentBlockParam } from '@anthropic-ai/sdk/resources'; export interface CreateSessionRequest { cwd?: string; model?: string; } export interface OwnedSessionInfo { id: string; cwd: string; model: string; createdAt: string; } export interface SessionOwnerOptions { cwd?: string; model: string; permissionMode?: PermissionMode; allowArbitraryCwd?: boolean; } export declare class SessionOwner { private readonly options; readonly owned: Set; private readonly sessions; private readonly info; private readonly mcpManagers; private readonly turns; private readonly pending; constructor(options: SessionOwnerOptions); private get baseCwd(); create(request?: CreateSessionRequest): Promise; submitPrompt(sessionId: string, text: string): Promise; submitSkillMessage(sessionId: string, message: ContentBlockParam[]): Promise; getSessionCwd(sessionId: string): string | undefined; getProviderSessionId(sessionId: string): string | undefined; isBusy(sessionId: string): boolean; reserveTurn(sessionId: string): void; releaseTurn(sessionId: string): void; interrupt(sessionId: string): Promise; list(): OwnedSessionInfo[]; closeAll(): Promise; }