export interface ConnectedAccount { platform: string; username: string; url: string; } export interface ConnectedAccountsResponse { success: boolean; connectedAccounts: ConnectedAccount[]; } /** * NEW UNIFIED LOOKUP - Get connected accounts using the simplified lookup endpoint * This is the preferred method that makes only ONE request to the backend * @param userIdentifier - Can be email, username, userId, or any user identifier * @returns Promise */ export declare const getConnectedAccountsLookup: (userIdentifier: string) => Promise; /** * SMART CONNECTED ACCOUNTS FETCHER - Uses new API with old API fallback * This function tries the new unified lookup first, then falls back to old methods if needed * @param userEmail - User's email (primary identifier) * @param userId - User's ID (fallback) * @param username - User's username (fallback) * @returns Promise */ export declare const getConnectedAccountsSmart: (userEmail?: string, userId?: string, username?: string) => Promise; /** * Get connected accounts by username * @param username - Username to fetch connected accounts for * @returns Promise */ export declare const getConnectedAccountsByUsername: (username: string) => Promise; /** * Get connected accounts by email * @param email - Email to fetch connected accounts for * @returns Promise */ export declare const getConnectedAccountsByEmail: (email: string) => Promise; /** * Get connected accounts by user ID * @param userId - User ID to fetch connected accounts for * @returns Promise */ export declare const getConnectedAccountsByUserId: (userId: string) => Promise; /** * Get platform icon based on platform name * @param platform - Platform name (case insensitive) * @returns Image source for the platform icon */ export { getPlatformIconFromRegistry as getPlatformIcon } from '../utils/assetRegistry'; /** * Get platform color based on platform name * @param platform - Platform name (case insensitive) * @returns Hex color code for the platform */ export declare const getPlatformColor: (platform: string) => string; //# sourceMappingURL=connectedAccountsService.d.ts.map