import { OnairosCredentials } from '../utils/secureStorage'; export interface OAuthConfig { clientId: string; redirectUri: string; scope: string; authorizationEndpoint: string; tokenEndpoint: string; responseType: string; } /** * Initialize OAuth service handlers and listeners */ export declare const initializeOAuthService: () => void; /** * Clean up OAuth service handlers and listeners */ export declare const cleanupOAuthService: () => void; /** * Connect to a platform using OAuth */ export declare const connectPlatform: (platform: string) => Promise; /** * Disconnect from a platform */ export declare const disconnectPlatform: (platform: string, credentials: OnairosCredentials) => Promise; /** * Store platform connection data in user credentials */ export declare const storePlatformConnection: (platform: string, connectionData: any, credentials: OnairosCredentials) => Promise; export interface AuthorizationData { accountName: string; authUrl: string; } export interface PlatformConnectionResult { success: boolean; userName?: string; error?: string; } /** * Service for handling OAuth connections to various platforms */ export declare const OAuthService: { initializeOAuthService: () => void; cleanupOAuthService: () => void; connectPlatform: (platform: string) => Promise; disconnectPlatform: (platform: string, credentials: OnairosCredentials) => Promise; storePlatformConnection: (platform: string, connectionData: any, credentials: OnairosCredentials) => Promise; _apiBaseUrl: string; }; //# sourceMappingURL=oauthService.d.ts.map