export interface McpLaunchBindingInput {
    agentId: string;
    workspacePath: string;
    serverUrl?: string;
    mcpHttpUrl?: string;
    runtimeAccessToken?: string;
    userId?: string;
    schedulerBaseUrl?: string;
}
export interface McpLaunchBinding {
    id: string;
    agentId: string;
    workspacePath: string;
    serverUrl: string;
    mcpHttpUrl: string;
    runtimeAccessToken?: string;
    userId?: string;
    schedulerBaseUrl?: string;
    enqueuedAt: string;
}
export interface ClaimedMcpLaunchBinding extends McpLaunchBinding {
    runtimeAccessToken?: string;
    userId?: string;
    schedulerBaseUrl?: string;
}
export interface McpLaunchBindingClaimRequest {
    agentId?: unknown;
    workspacePath: unknown;
    serverUrl?: unknown;
}
export declare function enqueueMcpLaunchBinding(input: McpLaunchBindingInput): McpLaunchBinding | null;
export declare function claimMcpLaunchBinding(request: McpLaunchBindingClaimRequest): ClaimedMcpLaunchBinding | null;
export declare function getMcpLaunchQueueSize(workspacePath: unknown): number;
export declare function clearMcpLaunchBindingQueues(): void;
/**
 * 获取指定 agent 的最新 MCP session token。
 * 供 MCP node 在 401 后向 bridge 查询最新 token 使用。
 */
export declare function getLatestAgentToken(agentId: string): {
    runtimeAccessToken: string;
} | null;
//# sourceMappingURL=mcp-launch-binding-queue.d.ts.map