import type { IBackendEndpoints } from '../../endpoints.interface'; import type { IBackendContext, IServiceTokenResponse } from '../../interfaces'; import type { ServiceTokenOptions } from '../../types'; type EntServiceTokenOptions = ServiceTokenOptions & { endpoints?: IBackendEndpoints; }; export declare class Auth { private readonly config; private readonly endpoints; constructor(config: IBackendContext, endpoints?: IBackendEndpoints); getToken(): Promise; } export declare function getServiceToken(options?: EntServiceTokenOptions): Promise; /** Service token plus its expiry, for IBackend.getServiceToken. */ export declare function getServiceTokenInfo(options?: EntServiceTokenOptions): Promise; export {};