This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@whiskeysockets/baileys/lib/WAUSync/USyncQuery.d.ts
T

29 lines
957 B
TypeScript

import type { USyncQueryProtocol } from '../Types/USync.js';
import { type BinaryNode } from '../WABinary/index.js';
import { USyncUser } from './USyncUser.js';
export type USyncQueryResultList = {
[protocol: string]: unknown;
id: string;
};
export type USyncQueryResult = {
list: USyncQueryResultList[];
sideList: USyncQueryResultList[];
};
export declare class USyncQuery {
protocols: USyncQueryProtocol[];
users: USyncUser[];
context: string;
mode: string;
constructor();
withMode(mode: string): this;
withContext(context: string): this;
withUser(user: USyncUser): this;
parseUSyncQueryResult(result: BinaryNode | undefined): USyncQueryResult | undefined;
withDeviceProtocol(): this;
withContactProtocol(): this;
withStatusProtocol(): this;
withDisappearingModeProtocol(): this;
withBotProfileProtocol(): this;
withLIDProtocol(): this;
}
//# sourceMappingURL=USyncQuery.d.ts.map