export type CacheKeyBuilder = (...args: any[]) => string;

export interface CacheableConfiguration {
  ttl?: number;
  refreshThreshold?: number;
  isDev?: boolean;
}
export interface CacheableOptions extends CacheableConfiguration {
  key?: string | CacheKeyBuilder;
  prefix?: string;
  type?: string;
}
