import { DBTokenResponse, HubAuthConfig, ActionParams, ActionResponse, AuthenticationURLOptions } from '../core/types.js'; export interface HubAuthSDKInterface { authorize(redirectUri: string, scopes: string[], options?: AuthenticationURLOptions): string; handleRegistryCallback(redirectUrl: string, codeVerifier?: string, logger?: any): Promise; performAction(params: ActionParams, connectionId: string, profileId: string, accessToken: string): Promise; refreshAccessToken(refreshToken: string, accessToken: string): Promise; getUserId(accessToken: string): string | undefined; } export interface UserInfo { uniqueId: string; id: string; name: string; email: string; role: string; createdAt: string; updatedAt: string; } /** * Hub Authentication SDK for centralized OAuth management * Enables MCP servers to route authentication through a central hub service */ export declare class HubAuthSDK implements HubAuthSDKInterface { private config; private axios; constructor(config: HubAuthConfig); /** * Generates an authorization URL for redirecting users to the Hub OAuth consent screen */ authorize(redirectUri: string, scopes: string[], options?: AuthenticationURLOptions): string; handleRegistryCallback(redirectUrl: string, codeVerifier?: string, logger?: any): Promise; performAction(params: ActionParams, connectionId: string, profileId: string, accessToken: string): Promise; refreshAccessToken(refreshToken: string): Promise; getUserId(accessToken: string): string | undefined; getUserInfo(accessToken: string): Promise; } //# sourceMappingURL=auth-sdk.d.ts.map