import JWTTokenService from './JWTTokenService'; interface KeycloakAuthorizationServiceConfig { baseUrl: string; realm: string; } interface KeycloakAuthorizationRequestParams { ticket?: string; claim_token?: object; claim_token_format?: 'urn:ietf:params:oauth:token-type:jwt'; rpt?: string; permission?: { resource?: string; scopes?: string[]; }; audience?: string; response_include_resource_name?: boolean; response_permissions_limit?: number; submit_request?: boolean; response_mode?: 'decision' | 'permissions'; } interface KeycloakAuthorizationRequestOptions { token: string; } export default class KeycloakAuthorizationService { private readonly config; private readonly jwtToken; constructor(config: KeycloakAuthorizationServiceConfig, jwtToken: JWTTokenService); uma2Configuration(): Promise; authorizationRequest(params: KeycloakAuthorizationRequestParams, options: KeycloakAuthorizationRequestOptions): Promise; private normalizeClaimsToken; private normalizePermission; private normalizeAudience; } export {};