/** Extract the `sdk-cli` consent URL from `claude mcp login` output. Returns null * when the output carries no start-auth URL (drives the `failed` branch). */ export declare function parseStartAuthUrl(output: string): string | null; export interface ConnectorAuthDeps { logger: (line: string) => void; /** Run `claude mcp login ""` under the brand config dir; returns combined * stdout+stderr and the exit code (never throws). */ runMcpLogin: (name: string) => Promise<{ output: string; code: number; }>; /** Recycle the session so the operator's next inbound re-spawns with --resume. */ recycleSession: (sessionId: string) => Promise; /** Per-session connectors already resumed once this manager lifetime; keyed * `${sessionId}::${name}`. */ resumedOnce: Set; } export interface ConnectorAuthArgs { sessionId: string; name: string; completed: boolean; } export type ConnectorAuthResult = { url: string; } | { recycled: true; } | { error: string; }; export declare function runConnectorAuthLogin(deps: ConnectorAuthDeps, args: ConnectorAuthArgs): Promise; //# sourceMappingURL=connector-auth.d.ts.map