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/Signal/lid-mapping.d.ts
T

23 lines
928 B
TypeScript

import type { LIDMapping, SignalKeyStoreWithTransaction } from '../Types/index.js';
import type { ILogger } from '../Utils/logger.js';
export declare class LIDMappingStore {
private readonly mappingCache;
private readonly keys;
private readonly logger;
private pnToLIDFunc?;
constructor(keys: SignalKeyStoreWithTransaction, logger: ILogger, pnToLIDFunc?: (jids: string[]) => Promise<LIDMapping[] | undefined>);
/**
* Store LID-PN mapping - USER LEVEL
*/
storeLIDPNMappings(pairs: LIDMapping[]): Promise<void>;
/**
* Get LID for PN - Returns device-specific LID based on user mapping
*/
getLIDForPN(pn: string): Promise<string | null>;
getLIDsForPNs(pns: string[]): Promise<LIDMapping[] | null>;
/**
* Get PN for LID - USER LEVEL with device construction
*/
getPNForLID(lid: string): Promise<string | null>;
}
//# sourceMappingURL=lid-mapping.d.ts.map