GEOPOS.d.ts 607 B

1234567891011
  1. import { RedisCommandArgument, RedisCommandArguments } from '.';
  2. export declare const FIRST_KEY_INDEX = 1;
  3. export declare const IS_READ_ONLY = true;
  4. export declare function transformArguments(key: RedisCommandArgument, member: RedisCommandArgument | Array<RedisCommandArgument>): RedisCommandArguments;
  5. type GeoCoordinatesRawReply = Array<[RedisCommandArgument, RedisCommandArgument] | null>;
  6. interface GeoCoordinates {
  7. longitude: RedisCommandArgument;
  8. latitude: RedisCommandArgument;
  9. }
  10. export declare function transformReply(reply: GeoCoordinatesRawReply): Array<GeoCoordinates | null>;
  11. export {};