20 lines
1.1 KiB
TypeScript
20 lines
1.1 KiB
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { RedisArgument, ArrayReply, BlobStringReply } from '../RESP/types';
|
|
import { GeoUnits, GeoSearchOptions } from './GEOSEARCH';
|
|
export declare function parseGeoRadiusByMemberArguments(parser: CommandParser, key: RedisArgument, from: RedisArgument, radius: number, unit: GeoUnits, options?: GeoSearchOptions): void;
|
|
declare const _default: {
|
|
readonly IS_READ_ONLY: false;
|
|
/**
|
|
* Queries members in a geospatial index based on a radius from a member
|
|
* @param parser - The Redis command parser
|
|
* @param key - Key of the geospatial index
|
|
* @param from - Member name to use as center point
|
|
* @param radius - Radius of the search area
|
|
* @param unit - Unit of distance (m, km, ft, mi)
|
|
* @param options - Additional search options
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, from: RedisArgument, radius: number, unit: GeoUnits, options?: GeoSearchOptions) => void;
|
|
readonly transformReply: () => ArrayReply<BlobStringReply>;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=GEORADIUSBYMEMBER.d.ts.map
|