import { OAuthTokens, OAuthWhoAmI } from '../entities/OAuth';
import { MonzoAPI } from './MonzoAPI';
export declare class MonzoOAuthAPI extends MonzoAPI {
    private clientId;
    private clientSecret;
    private redirectUrl;
    constructor(clientId: string, clientSecret: string, redirectUrl: string);
    generateAuthUrl(stateToken?: string): string;
    exchangeCode(code: string): Promise<OAuthTokens>;
    refreshToken(refreshToken: string): Promise<OAuthTokens>;
    me(accessToken: string): Promise<OAuthWhoAmI>;
}
