import type { JwtPayload } from './jsonwebtoken-type';
import type { Service } from './environment-accessor';
import type { ClientCredentialsResponse } from './xsuaa-service-types';
/**
 * Make a client credentials request against the XSUAA service.
 * @param service - Service as it is defined in the environment variable.
 * @param jwt - User JWT or object containing the `iss` property.
 * @returns Client credentials token.
 */
export declare function getClientCredentialsToken(service: string | Service, jwt?: string | JwtPayload): Promise<ClientCredentialsResponse>;
/**
 * Make a user token request against the XSUAA service.
 * @param service - Service as it is defined in the environment variable.
 * @param userJwt - User JWT.
 * @returns User token.
 */
export declare function getUserToken(service: Service, userJwt: string): Promise<string>;
