import "./test-helpers.js"; import type { WebInboundMessage, WebListenerCloseReason } from "./inbound.js"; export { resetBaileysMocks, resetLoadConfigMock, setLoadConfigMock } from "./test-helpers.js"; type AnyExport = any; type MockWebListener = { close: () => Promise; onClose: Promise; signalClose: () => void; sendMessage: () => Promise<{ messageId: string; }>; sendPoll: () => Promise<{ messageId: string; }>; sendReaction: () => Promise; sendComposingTo: () => Promise; }; export declare const TEST_NET_IP = "203.0.113.10"; export declare function rmDirWithRetries(dir: string, opts?: { attempts?: number; delayMs?: number; }): Promise; export declare function installWebAutoReplyTestHomeHooks(): void; export declare function makeSessionStore(entries?: Record): Promise<{ storePath: string; cleanup: () => Promise; }>; export declare function installWebAutoReplyUnitTestHooks(opts?: { pinDns?: boolean; }): void; export declare function createWebListenerFactoryCapture(): AnyExport; export declare function createMockWebListener(): MockWebListener; export declare function createWebInboundDeliverySpies(): AnyExport; export declare function sendWebGroupInboundMessage(params: { onMessage: (msg: WebInboundMessage) => Promise; body: string; id: string; senderE164: string; senderName: string; mentionedJids?: string[]; selfE164?: string; selfJid?: string; spies: ReturnType; conversationId?: string; accountId?: string; }): Promise; export declare function sendWebDirectInboundMessage(params: { onMessage: (msg: WebInboundMessage) => Promise; body: string; id: string; from: string; to: string; spies: ReturnType; accountId?: string; }): Promise;