import KeycloakConnect from 'keycloak-connect'; import { KeycloakConnectOptions } from '../interface/keycloak-connect-options.interface'; /** * Stores all keycloak instances when multi tenant option is defined. */ export declare class KeycloakMultiTenantService { private keycloakOpts; private instances; constructor(keycloakOpts: KeycloakConnectOptions); /** * Clears the cached Keycloak instances. */ clear(): void; /** * Retrieves a keycloak instance based on the realm provided. * @param realm the realm to retrieve from * @param request the request instance, defaults to undefined * @returns the multi tenant keycloak instance */ get(realm: string, request?: any): Promise; resolveAuthServerUrl(realm: string, request?: any): Promise; resolveSecret(realm: string, request?: any): Promise; }