import { StatsContext } from '@segment/actions-core';
import { SubscriptionMetadata } from '@segment/actions-core/destination-kit';
import { CachableSchema, CachableList } from '../types';
import { LRUCache } from 'lru-cache';
export declare const schemaCache: LRUCache<string, CachableSchema, unknown>;
export declare function getSchemaFromCache(name: string, subscriptionMetadata?: SubscriptionMetadata, statsContext?: StatsContext): CachableSchema | undefined;
export declare function saveSchemaToCache(schema: CachableSchema, subscriptionMetadata?: SubscriptionMetadata, statsContext?: StatsContext): Promise<void>;
export declare const listCache: LRUCache<string, CachableList, unknown>;
export declare function getListFromCache(name: string, objectType: string, subscriptionMetadata?: SubscriptionMetadata, statsContext?: StatsContext): CachableList | undefined;
export declare function saveListToCache(cachableList: CachableList, subscriptionMetadata?: SubscriptionMetadata, statsContext?: StatsContext): Promise<void>;
