export declare type TippleCache = Record; export interface TippleClientOptions { baseUrl?: string; fetchOptions?: ((o: RequestInit) => RequestInit) | RequestInit; initialCache?: TippleCache; } export interface TippleClient { config: TippleClientOptions; /** Callback for cache updates. */ addCacheWatcher: (callback: (cache: TippleCache) => void) => () => void; /** Additions to cache. */ addResponse: (arg: { key: string; data: any; domains: D[]; }) => void; /** Invalidation of cache. */ clearDomains: (domains: D[]) => void; } export declare const createClient: (config?: TippleClientOptions) => TippleClient;