interface ShodanService { port: number; transport: string; product?: string; version?: string; cpe?: string[]; banner?: string; } interface ShodanHostResult { ip: string; hostnames: string[]; org?: string; isp?: string; os?: string; asn?: string; country?: string; city?: string; vulns?: string[]; ports: number[]; services: ShodanService[]; lastUpdate?: string; tags?: string[]; } interface ShodanSearchMatch { ip_str: string; port: number; org?: string; hostnames: string[]; product?: string; os?: string; asn?: string; domains: string[]; } interface ShodanSearchResult { total: number; matches: ShodanSearchMatch[]; facets?: Record; } interface ShodanExploitResult { total: number; matches: { title: string; source: string; type?: string; author?: string; date?: string; cve?: string[]; }[]; } export declare function shodanHost(ip: string, apiKey: string): Promise; export declare function shodanSearch(query: string, apiKey: string, page?: number, facets?: string): Promise; export declare function shodanDnsResolve(hostnames: string[], apiKey: string): Promise>; export declare function shodanExploits(query: string, apiKey: string, type?: string): Promise; export {}; //# sourceMappingURL=index.d.ts.map