import { ProviderConfig } from "./OAuthProvider"; /** * Base class for OAuth providers with shared utilities * * Provides common functionality: * - Query string building * - HTTP request execution * - Configuration storage */ export declare abstract class OAuthProviderBase { protected config: ProviderConfig; constructor(config: ProviderConfig); /** * Build URL query string from parameters * * @param params - Key-value pairs to encode * @returns Encoded query string (without leading '?') */ protected buildQueryString(params: Record): string; /** * Make HTTPS request to external API * * @param url - Full URL to request * @param options - Request options (method, headers, body) * @returns Parsed JSON response */ protected makeHttpRequest(url: string, options: { method: "GET" | "POST"; headers?: Record; body?: string; }): Promise; }