import { RedisClientType } from '@redis/client/dist/lib/client/index'; import { RedisCommandArgument, RedisFunctions, RedisScripts } from '@redis/client/dist/lib/commands'; import { QueryOptions } from './commands'; import { QueryReply } from './commands/QUERY'; export type GraphReply = Omit & { data?: Array; }; export type GraphClientType = RedisClientType<{ graph: { query: typeof import('./commands/QUERY'); roQuery: typeof import('./commands/RO_QUERY'); }; }, RedisFunctions, RedisScripts>; export default class Graph { #private; constructor(client: GraphClientType, name: string); query(query: RedisCommandArgument, options?: QueryOptions): Promise>; roQuery(query: RedisCommandArgument, options?: QueryOptions): Promise>; }