import { NodeSizeDto } from '../../../src/modules/providers/dto/node-size.dto';
export declare class ServerTypeCacheService {
    private readonly cacheDir;
    private readonly defaultTtlHours;
    constructor();
    private ensureCacheDir;
    private getCacheFilePath;
    /**
     * Get cached server types if available and not expired
     */
    get(provider: string): Promise<NodeSizeDto[] | null>;
    /**
     * Save server types to cache
     */
    set(provider: string, serverTypes: NodeSizeDto[]): Promise<void>;
    /**
     * Clear cache for a specific provider
     */
    clear(provider: string): Promise<void>;
    /**
     * Clear all server type caches
     */
    clearAll(): Promise<void>;
    /**
     * Get cache metadata (timestamp, TTL)
     */
    getCacheInfo(provider: string): Promise<{
        exists: boolean;
        timestamp?: Date;
        expiresAt?: Date;
        isExpired?: boolean;
    }>;
    private isCacheExpired;
}
