import type { KeyPair } from "../crypto/keypair.js"; import type { NetworkNode } from "../types/peer.js"; type PullCallbacks = { onOfflineFriendRequest: (fromUserId: string, packet: Uint8Array, timestamp: number) => void; onOfflineFriendMessage: (fromUserId: string, packet: Uint8Array, timestamp: number) => void; }; export declare class LegacyExpressClient { #private; constructor(opts: { nodes: NetworkNode[]; selfKeyPair: KeyPair; selfUserId: string; selfAddress: string; callbacks: PullCallbacks; }); hasNodes(): boolean; sendOfflineFriendRequest(address: string, hello: Uint8Array): Promise; sendOfflineText(friendUserId: string, carrierPacket: Uint8Array): Promise; pullOnce(): Promise; } export {};