import { StatsContext } from '@segment/actions-core';
import { SubscriptionMetadata } from '@segment/actions-core/destination-kit';
import { Schema, CachableSchema, SchemaDiff } from '../types';
import { LRUCache } from 'lru-cache';
export declare const cache: 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 function compareSchemas(schema1: Schema, schema2: CachableSchema | undefined): SchemaDiff;
