import { TokenResult } from '@axinom/mosaic-id-utils'; /** * This function generates a long lived access token for a user token. It can be used to invoke long running processes. * @param authEndpoint URL for id-service authEndpoint. * @param serviceAccountToken A valid service account token with permission GENERATE_LONG_LIVED_TOKEN granted. * @param userAccessToken User access token to extend the validity period for. * @param validityDurationInSeconds Token expiration time in seconds. If not given, it will be defaulted to 2592000 (30 days). * @returns {TokenResult} Long lived access token. */ export declare const generateLongLivedToken: (authEndpoint: string, serviceAccountToken: string, userAccessToken: string, validityDurationInSeconds?: number) => Promise; //# sourceMappingURL=index.d.ts.map