import type { OAuthStartRequest, OAuthStartResponse } from "../types.js"; export declare const MCP_OAUTH_START_TIMEOUT_MS = 20000; type OAuthStartClient = { startConnectionOAuth: (workspaceId: string, request: OAuthStartRequest, options?: { signal?: AbortSignal | undefined; }) => Promise; }; /** * Bound the pre-redirect MCP OAuth request. Browser fetch can otherwise remain * pending indefinitely before the API sees a request, leaving the capability * sheet's busy state spinning forever with no provider page and no error. */ export declare function startMcpOAuthWithTimeout(client: OAuthStartClient, workspaceId: string, request: OAuthStartRequest, timeoutMs?: number): Promise; export {};