import { OAuth2Client } from '../../server/oauth2/OAuth2Client';
import type { App } from '../App';
import type { IOAuth2ClientOptions } from './IOAuth2';
/**
 * Placeholder factory for OAuth2Client in case
 * we need to pass internal stuff to it.
 *
 * @param app App that will connect via OAuth2
 * @param options Options for the OAuth2Client
 * @returns OAuth2Client instance
 */
export declare function createOAuth2Client(app: App, options: IOAuth2ClientOptions): OAuth2Client;
