Repository URL to install this package:
|
Version:
9.0.34-framework ▾
|
import redis from 'redis';
export interface RedisGetSetOptions {
isJSON?: boolean;
}
declare const clientExport: redis.RedisClient;
declare const getExport: (key: string, options?: RedisGetSetOptions) => Promise<any>;
declare const setExport: (key: string, value: any, options?: RedisGetSetOptions) => Promise<any>;
declare const getJSONExport: (key: string, options?: {
isJSON: boolean;
}) => Promise<any>;
declare const hasExport: (key: unknown) => Promise<boolean>;
export { clientExport as client, redis, getExport as get, setExport as set, hasExport as has, getJSONExport as getJSON, };