import { InterfaceDefinition } from './types.js';
interface VersionResolution {
    interfaceId: string;
    updatedAt: string;
    cachedAt: string;
}
/**
 * Two-level interface cache. Since WS4 this is a thin shim over the unified
 * {@link ResolutionCache}; the on-disk layout (`~/.adk/cache/interfaces/…`), key
 * sanitization, 5-min resolution TTL, and the `interfaceId` resolution field are
 * preserved byte-for-byte. Kept as a public export for compatibility.
 */
export declare class EnhancedInterfaceCache {
    private readonly cache;
    constructor(noCache?: boolean);
    getResolution(name: string, version: string, workspace?: string): Promise<VersionResolution | null>;
    setResolution(name: string, version: string, workspace: string | undefined, interfaceId: string, updatedAt: string): Promise<void>;
    getDefinition(interfaceId: string, updatedAt: string): Promise<InterfaceDefinition | null>;
    setDefinition(interfaceId: string, updatedAt: string, definition: InterfaceDefinition): Promise<void>;
    clear(): Promise<void>;
    getStats(): Promise<{
        resolutions: {
            count: number;
            sizeBytes: number;
        };
        definitions: {
            count: number;
            sizeBytes: number;
        };
    }>;
}
export {};
//# sourceMappingURL=enhanced-cache.d.ts.map