import crypto from 'crypto'; import * as RequestHandler from './default-http-request-handler'; import type { PublicKey } from './jwt-utils/decode-validators'; export type PublicKeys = Record>; export interface JwkOptions { expiresSkew?: number; defaultAlgorithms?: string[]; } export type FormattedPublicKeys = Record; export declare class PubkeysHelper { private requestHandler; constructor(httpRequestHandler?: RequestHandler.HttpRequestHandler); static fetchJwkKeys(url: string, options?: JwkOptions): Promise; private static formatPublicKeys; private static fetchJwkKeysImpl; fetchJwkKeys(url: string, options?: JwkOptions): Promise; }