import { OAuthConfig } from "../Config/OAuthConfig"; export declare class TokenHandler { static getTokenWithPassword(username: string, password: string, config: OAuthConfig): Promise<{ accessToken?: string; refreshToken?: string; error?: string; }>; static validateToken(token: string, config: OAuthConfig, tokenTypeHint?: string): Promise; static getNewAccessToken(refreshToken: string, config: OAuthConfig): Promise; static handleAccessToken(accessToken: string, config: OAuthConfig): Promise<{ user?: object; error?: string; }>; static getUserInfoUsingAccessToken(accessToken: string, config: OAuthConfig): Promise; }