/** Generate multi-precision g-tag ladder for Nostr event publishing. */ export declare function createGTagLadder(geohash: string, minPrecision?: number): string[][]; /** * Extract and parse g tags from a Nostr event's tag array. * Invalid geohashes (containing non-base32 characters) are silently filtered out, * since relay data is untrusted. Empty strings are also excluded. */ export declare function parseGTags(tags: string[][]): Array<{ geohash: string; precision: number; }>; /** Return the highest-precision g tag from an event's tag array. */ export declare function bestGeohash(tags: string[][]): string | undefined; /** Expand geohash into concentric rings of neighbours. Max 10 rings. */ export declare function expandRings(hash: string, rings?: number): string[][]; /** Generate a #g filter for Nostr REQ from coordinates and radius. */ export declare function createGTagFilter(lat: number, lon: number, radiusMetres: number): { '#g': string[]; }; /** Generate a #g filter from an existing geohash set. */ export declare function createGTagFilterFromGeohashes(hashes: string[]): { '#g': string[]; }; /** Convenience: encode + expand rings + flatten to filter. */ export declare function nearbyFilter(lat: number, lon: number, options?: { precision?: number; rings?: number; }): { '#g': string[]; }; //# sourceMappingURL=nostr.d.ts.map