import { TokenData } from '../types/connection.js'; /** * Check if token is expired or will expire soon */ export declare function isTokenExpired(tokenData: TokenData): boolean; /** * Refresh an OAuth token using refresh token */ export declare function refreshToken(refreshToken: string, clientId: string, clientSecret: string, instanceUrl: string): Promise; /** * Exchange authorization code for tokens */ export declare function exchangeCodeForTokens(authorizationCode: string, clientId: string, clientSecret: string, redirectUri: string, instanceUrl: string): Promise;