20 lines
1014 B
TypeScript
20 lines
1014 B
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { RedisArgument, ArrayReply, TuplesReply, BlobStringReply, NullReply, UnwrapReply } from '../RESP/types';
|
|
import { RedisVariadicArgument } from './generic-transformers';
|
|
declare const _default: {
|
|
readonly CACHEABLE: true;
|
|
readonly IS_READ_ONLY: true;
|
|
/**
|
|
* Returns the longitude and latitude of one or more members in a geospatial index
|
|
* @param parser - The Redis command parser
|
|
* @param key - Key of the geospatial index
|
|
* @param member - One or more members in the geospatial index
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, member: RedisVariadicArgument) => void;
|
|
readonly transformReply: (this: void, reply: UnwrapReply<ArrayReply<TuplesReply<[BlobStringReply, BlobStringReply]> | NullReply>>) => ({
|
|
longitude: BlobStringReply<string>;
|
|
latitude: BlobStringReply<string>;
|
|
} | null)[];
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=GEOPOS.d.ts.map
|