/**
 * Create server to retrieve SAML token or OAuth authorization code.
 *
 * The server responds to the browser with `Content-Type: text/html; charset=utf-8`.
 * When `options.renderer` is provided, its output is used verbatim as the
 * response body; otherwise the default body is sent (HTML-escaped).
 *
 * @param {Function} resolve
 * @param {Function} [reject]
 * @param {{ renderer?: (result: { error: string | null }) => string }} [options]
 *
 * @returns {Server}
 */
export function createServer(resolve: Function, reject?: Function, options?: {
    renderer?: (result: {
        error: string | null;
    }) => string;
}): Server;
export function withBrowserActionTimeout(millis: any, promise: any): Promise<any>;
export function getTokenUrl(options: any): import("url").URL;
export function prepareScope(options: any): any;
export function readCache(key: any): Promise<any>;
export function writeToCache(key: any, value: any): Promise<any>;
export function removeFromCache(key: any): Promise<any>;
export function buildOauthAccessTokenCacheKey(host: any, username: any, authenticationType: any): string | null;
export function buildOauthRefreshTokenCacheKey(host: any, username: any, authenticationType: any): string | null;
export function isSnowflakeHost(url: any): boolean;
