import type { SchemaOverview } from '@db-studio/types'; import Keyv from 'keyv'; export declare function getCache(): { cache: Keyv | null; systemCache: Keyv; sharedSchemaCache: Keyv; localSchemaCache: Keyv; lockCache: Keyv; }; export declare function flushCaches(forced?: boolean): Promise; export declare function clearSystemCache(opts?: { forced?: boolean | undefined; autoPurgeCache?: false | undefined; }): Promise; export declare function setSystemCache(key: string, value: any, ttl?: number): Promise; export declare function getSystemCache(key: string): Promise>; export declare function setSchemaCache(schema: SchemaOverview): Promise; export declare function getSchemaCache(): Promise; export declare function setCacheValue(cache: Keyv, key: string, value: Record | Record[], ttl?: number): Promise; export declare function getCacheValue(cache: Keyv, key: string): Promise;