export type CacheController = { start: () => Promise | void; stop: () => Promise | void; isCachedAndStillValid: (token: string) => Promise | boolean; cacheValidToken: (token: string, expiration: number) => Promise | void; cleanValidTokensExpirationCache: () => Promise | void; }; export declare const createDefaultCacheController: ({ maxCacheSize, maxCacheTime, }: { maxCacheSize?: number | undefined; maxCacheTime?: number | undefined; }) => CacheController;