/**
 * agent-tower 后端 API HTTP 客户端
 * MCP 服务器通过此客户端代理调用后端 REST API
 */
export declare class AgentTowerClient {
    private baseUrl;
    private invocationIdOverride?;
    constructor(baseUrl: string);
    setInvocationId(invocationId: string | undefined): void;
    private url;
    private request;
    listProjects(params?: {
        page?: number;
        limit?: number;
    }): Promise<any>;
    listTasks(projectId: string, params?: {
        status?: string;
        limit?: number;
        page?: number;
    }): Promise<any>;
    createTask(projectId: string, input: {
        title: string;
        description?: string;
        priority?: number;
    }): Promise<any>;
    getTask(taskId: string): Promise<any>;
    updateTask(taskId: string, input: {
        title?: string;
        description?: string;
        priority?: number;
    }): Promise<any>;
    updateTaskStatus(taskId: string, status: string): Promise<any>;
    deleteTask(taskId: string): Promise<void>;
    createWorkspace(taskId: string, input?: {
        branchName?: string;
        workspaceKind?: string;
    }): Promise<any>;
    getWorkspaceDiff(workspaceId: string): Promise<{
        diff: string;
    }>;
    mergeWorkspace(workspaceId: string): Promise<{
        success: boolean;
        sha: string;
    }>;
    listProviders(): Promise<any[]>;
    createSession(workspaceId: string, prompt: string, providerId: string): Promise<any>;
    startSession(sessionId: string): Promise<any>;
    stopSession(sessionId: string): Promise<any>;
    sendMessage(sessionId: string, message: string): Promise<any>;
    createRoomMessage(teamRunId: string, input: {
        content: string;
        mentions?: Array<{
            memberId: string;
            label?: string;
            ifBusy?: 'queue' | 'cancel_current_and_start';
            cancelQueued?: boolean;
        }>;
        attachmentIds?: string[];
        artifactRefs?: string[];
        kind?: 'chat' | 'work_request' | 'artifact' | 'review' | 'decision' | 'system';
        senderType?: 'user' | 'agent' | 'system';
        senderId?: string | null;
        senderInvocationId?: string | null;
    }): Promise<any>;
    createPrivateRoomMessage(teamRunId: string, input: {
        content: string;
        recipientMemberIds: string[];
        attachmentIds?: string[];
        artifactRefs?: string[];
        ifBusy?: 'queue' | 'cancel_current_and_start';
        cancelQueued?: boolean;
        senderType?: 'user' | 'agent' | 'system';
        senderId?: string | null;
        senderInvocationId?: string | null;
    }): Promise<any>;
    listRoomMessages(teamRunId: string): Promise<any[]>;
    getRoomMessage(teamRunId: string, messageId: string): Promise<any>;
    listTeamMembers(teamRunId: string): Promise<any[]>;
    listMemberWorkRequests(teamRunId: string, memberId: string): Promise<any>;
    approveWorkRequest(workRequestId: string, input?: {
        teamRunId?: string;
        requesterMemberId?: string;
    }): Promise<any>;
    rejectWorkRequest(workRequestId: string, input?: {
        teamRunId?: string;
        requesterMemberId?: string;
    }): Promise<any>;
    cancelWorkRequest(workRequestId: string, input?: {
        teamRunId?: string;
        requesterMemberId?: string;
    }): Promise<any>;
    stopMemberWork(teamRunId: string, memberId: string, input?: {
        cancelQueued?: boolean;
    }): Promise<any>;
    getWorkspaceContext(cwdPath: string, sessionId?: string): Promise<any>;
}
//# sourceMappingURL=http-client.d.ts.map