/// /// import { Boom } from '@hapi/boom'; import { SocketConfig } from '../Types'; import { BinaryNode } from '../WABinary'; import { USyncQuery } from '../WAUSync'; export declare const makeUSyncSocket: (config: SocketConfig) => { executeUSyncQuery: (usyncQuery: USyncQuery) => Promise; type: "md"; ws: import("./Client").WebSocketClient; ev: import("../Types").BaileysEventEmitter & { process(handler: (events: Partial) => void | Promise): () => void; buffer(): void; createBufferedFunction(work: (...args: A) => Promise): (...args: A) => Promise; flush(force?: boolean | undefined): boolean; isBuffering(): boolean; }; authState: { creds: import("../Types").AuthenticationCreds; keys: import("../Types").SignalKeyStoreWithTransaction; }; signalRepository: import("../Types").SignalRepository; user: import("../Types").Contact | undefined; generateMessageTag: () => string; query: (node: BinaryNode, timeoutMs?: number | undefined) => Promise; waitForMessage: (msgId: string, timeoutMs?: number | undefined) => Promise; waitForSocketOpen: () => Promise; sendRawMessage: (data: Uint8Array | Buffer) => Promise; sendNode: (frame: BinaryNode) => Promise; logout: (msg?: string | undefined) => Promise; end: (error: Error | undefined) => void; onUnexpectedError: (err: Error | Boom, msg: string) => void; uploadPreKeys: (count?: number) => Promise; uploadPreKeysToServerIfRequired: () => Promise; requestPairingCode: (phoneNumber: string) => Promise; waitForConnectionUpdate: (check: (u: Partial) => Promise, timeoutMs?: number | undefined) => Promise; sendWAMBuffer: (wamBuffer: Buffer) => Promise; };