export interface CacheDriver {
    get<T>(key: string): Promise<T | null>;
    set<T>(key: string, value: T, ttl?: number): Promise<void>;
    delete(key: string): Promise<void>;
    clear(): Promise<void>;
    has(key: string): Promise<boolean>;
}
export type RedisCacheConfig = {
    driver: 'redis';
    host: string;
    port: number;
    ttl: number;
    password?: string;
    database?: number;
};
export declare const RedisCacheDriver: Readonly<{
    create(config: RedisCacheConfig): CacheDriver;
}>;
export default RedisCacheDriver;
export { RedisProxyAdapter } from './RedisProxyAdapter.js';
/**
 * Package version and build metadata
 * Available at runtime for debugging and health checks
 */
export declare const _ZINTRUST_CACHE_REDIS_VERSION = "0.1.15";
export declare const _ZINTRUST_CACHE_REDIS_BUILD_DATE = "__BUILD_DATE__";
//# sourceMappingURL=index.d.ts.map