import OreIdContext from '../../core/IOreidContext'; import { ProcessId } from '../../models'; export declare type ApiConvertOauthTokensParams = { accessToken?: string; idToken?: string; }; export declare type ApiConvertOauthTokensBodyParams = { access_token?: string; id_token?: string; }; export declare type CallApiConvertOauthTokensResult = { accessToken: string; idToken: string; processId: ProcessId; }; /** Call the account/convert-oauth api * Converts OAuth tokens from some 3rd-party source to OREID Oauth tokens * The third-party (e.g. Auth0 or Google) must be registered in the AppRegistration.oauthSettings * Returns: OreId issued accessToken and idToken * */ export declare function callApiConvertOauthTokens(oreIdContext: OreIdContext, params: ApiConvertOauthTokensParams): Promise;