import { Request } from 'express'; import { DyFM_Object } from '@futdevpro/fsm-dynamo'; import { DyFM_GeoIpLocation } from '@futdevpro/fsm-dynamo/location'; /** * Collection of static helper utilities shared across modules. */ export declare class DyNTS_Shared extends DyFM_Object { /** * Extract the IP address from an Express request. * * @param request Incoming HTTP request * @returns Resolved IP string */ static getIpFromRequest(request: Request): string; /** * Lookup the Geo location of a request based on its IP address. * * @param request Incoming request * @returns Resolved geo location information */ static getLocationDataByRequest(request: Request): DyFM_GeoIpLocation; /** * Lookup the Geo location of a raw IP address. * * @param ip IP address string * @returns Geo location information */ static getLocationByIp(ip: string): DyFM_GeoIpLocation; /** * Simple CLI helper to prompt the user for input. * * @param question Text displayed to the user * @returns Entered string value */ static prompt(question: string): Promise; } //# sourceMappingURL=shared.static-service.d.ts.map