D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
home
/
etb1lp46s9ed
/
washeet.softurecs.com
/
node_modules
/
baileys
/
lib
/
Utils
/
Filename :
signal.d.ts
back
Copy
import type { SignalRepositoryWithLIDStore } from '../Types/index.js'; import type { AuthenticationCreds, AuthenticationState, KeyPair, SignalIdentity, SignalKeyStore, SignedKeyPair } from '../Types/Auth.js'; import { type BinaryNode, type FullJid } from '../WABinary/index.js'; import type { USyncQueryResultList } from '../WAUSync/index.js'; export declare const createSignalIdentity: (wid: string, accountSignatureKey: Uint8Array) => SignalIdentity; export declare const getPreKeys: ({ get }: SignalKeyStore, min: number, limit: number) => Promise<{ [id: string]: KeyPair; }>; export declare const generateOrGetPreKeys: (creds: AuthenticationCreds, range: number) => { newPreKeys: { [id: number]: KeyPair; }; lastPreKeyId: number; preKeysRange: readonly [number, number]; }; export declare const xmppSignedPreKey: (key: SignedKeyPair) => BinaryNode; export declare const xmppPreKey: (pair: KeyPair, id: number) => BinaryNode; export declare const parseAndInjectE2ESessions: (node: BinaryNode, repository: SignalRepositoryWithLIDStore) => Promise<void>; export declare const extractDeviceJids: (result: USyncQueryResultList[], myJid: string, myLid: string, excludeZeroDevices: boolean) => FullJid[]; /** * get the next N keys for upload or processing * @param count number of pre-keys to get or generate */ export declare const getNextPreKeys: ({ creds, keys }: AuthenticationState, count: number) => Promise<{ update: Partial<AuthenticationCreds>; preKeys: { [id: string]: KeyPair; }; }>; export declare const getNextPreKeysNode: (state: AuthenticationState, count: number) => Promise<{ update: Partial<AuthenticationCreds>; node: BinaryNode; }>; //# sourceMappingURL=signal.d.ts.map