import { AuthenticationParams, AuthenticationRequest, AuthenticationResult, AuthenticationService } from '@feathersjs/authentication'; /** * Cloud JWT Service class */ export declare class CloudJwtService extends AuthenticationService { /** * Extend the default getPayload method with permissions * @param authResult - The result of the authentication * @param params - The parameters required for authentication * @returns payload with permissions if exists */ getPayload(authResult: AuthenticationResult, params: AuthenticationParams): Promise<{ [key: string]: any; }>; /** * Verify an access token * @param token - Access token string * @param _optsOverride - Options to override the derive encryption key * @param secretOverride - Override the secret used for encryption * @returns decrypted token payload */ verifyAccessToken(token: string, _optsOverride: Record, secretOverride?: string): Promise; /** * Authenticate method * @param authentication - Authentication request * @param params - Authentication parameters * @param allowed - Allowed authentication strategies * @returns Authentication result */ authenticate(authentication: AuthenticationRequest, params: AuthenticationParams, ...allowed: string[]): Promise; }