import { BackgroundMemoizeOptions } from '@cubejs-backend/shared'; import { JWTOptions } from './interfaces'; export type JWKsFetcherOptions = Pick, 'onBackgroundException'>; export declare const createJWKsFetcher: (jwtOptions: JWTOptions, options: JWKsFetcherOptions) => { fetchOnly: (url: string) => Promise<{ doneDate: number; lifeTime: number; result: Map; }>; /** * Fetch JWK from cache or load it from jwkUrl */ getJWKbyKid: (url: string, kid: string) => Promise; release: (waitExecution?: boolean) => Promise; }; export type JWKSFetcher = ReturnType; //# sourceMappingURL=jwk.d.ts.map