import type { ToolResult } from "../types.js"; export interface PingSweepArgs { target: string; method?: "auto" | "nmap" | "arp" | "native" | undefined; timeoutMs?: number | undefined; } export interface ActiveDevice { ip: string; hostname?: string | undefined; mac?: string | undefined; vendor?: string | undefined; source: "nmap" | "arp-scan" | "arp" | "ip-neigh"; } /** * Parse nmap -sn output to extract active devices. * Exported for testing. */ export declare function parseNmapPingSweep(output: string): ActiveDevice[]; /** * Parse arp -a output to extract devices from the ARP table. * Exported for testing. */ export declare function parseArpTable(output: string): ActiveDevice[]; export declare function pingSweep(args: PingSweepArgs, options?: { signal?: AbortSignal | undefined; }): Promise;