import { Ping, PingOptions, PingTarget, PingResult } from './ping.js'; interface PingUDPOptions extends PingOptions { port: 22 | 80 | number; buffer?: Buffer; broadcast?: boolean; ports?: number | number[] | string; chunk?: number; } interface PingUDPTarget extends PingTarget { port: number; ports?: number[]; } interface PingUDPResult extends PingResult { port: number; name: string; ports?: any; statuses?: any; names?: any; errors?: any; } declare class PingUDP extends Ping { options: PingUDPOptions; target: PingUDPTarget; result: PingUDPResult; constructor(options?: PingUDPOptions); send(): void; private portName; private parsePorts; static sendAsync(options: PingUDPOptions, callback?: (error: any, result: PingUDPResult) => void): Promise; scan(): Promise; static scanAsync(options: PingUDPOptions, callback?: (error: any, result: PingUDPResult) => void): Promise; static wol(mac?: string, options?: PingUDPOptions, callback?: (error: any, result: PingUDPResult) => void): Promise; } export default PingUDP; export { PingUDP, PingUDPOptions, PingUDPResult };