Path: blob/master/node_modules/@adiwajshing/baileys/lib/Defaults/index.d.ts
1129 views
/// <reference types="node" />1import type { LegacySocketConfig, MediaType, SocketConfig } from '../Types';2export declare const UNAUTHORIZED_CODES: number[];3export declare const DEFAULT_ORIGIN = "https://web.whatsapp.com";4export declare const DEF_CALLBACK_PREFIX = "CB:";5export declare const DEF_TAG_PREFIX = "TAG:";6export declare const PHONE_CONNECTION_CB = "CB:Pong";7export declare const WA_DEFAULT_EPHEMERAL: number;8export declare const NOISE_MODE = "Noise_XX_25519_AESGCM_SHA256\0\0\0\0";9export declare const DICT_VERSION = 2;10export declare const KEY_BUNDLE_TYPE: Buffer;11export declare const NOISE_WA_HEADER: Buffer;12/** from: https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url */13export declare const URL_REGEX: RegExp;14export declare const URL_EXCLUDE_REGEX: RegExp;15export declare const WA_CERT_DETAILS: {16SERIAL: number;17};18export declare const DEFAULT_CONNECTION_CONFIG: SocketConfig;19export declare const DEFAULT_LEGACY_CONNECTION_CONFIG: LegacySocketConfig;20export declare const MEDIA_PATH_MAP: {21[T in MediaType]: string;22};23export declare const MEDIA_KEYS: MediaType[];24export declare const MIN_PREKEY_COUNT = 5;25export declare const INITIAL_PREKEY_COUNT = 30;262728