import { ObjectPrettifyDeep } from "typeforge"; type AllApis = any; export type CacheConfig> = Settings | ObjectPrettifyDeep<({ "*"?: Settings; } & { [ApiName in keyof AllApis]?: ((Settings & { [MethodName in keyof AllApis[ApiName]]?: undefined; }) | { [MethodName in keyof AllApis[ApiName]]?: Settings; }); })>; export type CacheAdapter, CustomConfig extends Record> = (; }>>(config: Config) => ({ name: string; get: (key: string) => any; set: (settings: Settings, key: string, value: any) => void; })); export {};