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

23 lines
706 B
TypeScript

import type { USyncQueryProtocol } from '../../Types/USync.js';
import { type BinaryNode } from '../../WABinary/index.js';
export type KeyIndexData = {
timestamp: number;
signedKeyIndex?: Uint8Array;
expectedTimestamp?: number;
};
export type DeviceListData = {
id: number;
keyIndex?: number;
isHosted?: boolean;
};
export type ParsedDeviceInfo = {
deviceList?: DeviceListData[];
keyIndex?: KeyIndexData;
};
export declare class USyncDeviceProtocol implements USyncQueryProtocol {
name: string;
getQueryElement(): BinaryNode;
getUserElement(): BinaryNode | null;
parser(node: BinaryNode): ParsedDeviceInfo;
}
//# sourceMappingURL=USyncDeviceProtocol.d.ts.map