import type { NetworkNode } from "../types/peer.js"; import type { KeyPair } from "../crypto/keypair.js"; import { UdpTransport } from "../transport/udp.js"; type DhtNode = { host: string; port: number; publicKey: Uint8Array; transport: "udp4" | "udp6" | "tcp4" | "tcp6"; }; export type BootstrapClientOptions = { nodes: NetworkNode[]; keyPair: KeyPair; transport: UdpTransport; }; export type BootstrapAttempt = { node: NetworkNode; status: "queued" | "sent" | "responded"; }; export type BootstrapResult = { respondingNode: NetworkNode; discoveredNodes: DhtNode[]; }; export declare class LegacyBootstrapClient { #private; constructor(opts: BootstrapClientOptions); attempts(): BootstrapAttempt[]; join(timeoutMs?: number): Promise; } export {};