import { OAuthProvider } from "../../common/resources/oauth-service.resource";
import { OAuthTokenData } from "../users/oauth-token-data";
/** @internal */
export declare function getOAuthProviderByCurrentUser(oAuthType: string): Promise<OAuthProvider>;
export declare function getOAuthProviderByAuthKey(oAuthType: string, oauthKey: string): Promise<OAuthProvider>;
/** @internal */
export declare function updateOAuthProviderToken(oauthService: OAuthProvider, tokenData: OAuthTokenData): Promise<void>;
