export = AuthKeypair;
/**
 * Creates a key-pair authenticator.
 *
 * @param {Object} connectionConfig
 *
 * @returns {Object}
 * @constructor
 */
declare function AuthKeypair(connectionConfig: Object): Object;
declare class AuthKeypair {
    /**
     * Creates a key-pair authenticator.
     *
     * @param {Object} connectionConfig
     *
     * @returns {Object}
     * @constructor
     */
    constructor(connectionConfig: Object);
    /**
     * Update JSON body with token.
     *
     * @param {JSON} body
     *
     * @returns {null}
     */
    updateBody: (body: JSON) => null;
    /**
     * Generate JWT token using RS256 algorithm.
     *
     * @param {String} authenticator
     * @param {String} serviceName
     * @param {String} account
     * @param {String} username
     *
     * @returns {null}
     */
    authenticate: (authenticator: string, serviceName: string, account: string, username: string) => null;
    reauthenticate: (body: any) => Promise<void>;
}
