Path: blob/master/node_modules/@adiwajshing/baileys/lib/Defaults/index.d_1.ts
2593 views
import type { LegacySocketConfig, MediaType, SocketConfig } from '../Types';1export declare const UNAUTHORIZED_CODES: number[];2export declare const DEFAULT_ORIGIN = "https://web.whatsapp.com";3export declare const DEF_CALLBACK_PREFIX = "CB:";4export declare const DEF_TAG_PREFIX = "TAG:";5export declare const PHONE_CONNECTION_CB = "CB:Pong";6export declare const WA_DEFAULT_EPHEMERAL: number;7export declare const NOISE_MODE = "Noise_XX_25519_AESGCM_SHA256\0\0\0\0";8export declare const NOISE_WA_HEADER: Uint8Array;9/** from: https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url */10export declare const URL_REGEX: RegExp;11export declare const DEFAULT_CONNECTION_CONFIG: SocketConfig;12export declare const DEFAULT_LEGACY_CONNECTION_CONFIG: LegacySocketConfig;13export declare const MEDIA_PATH_MAP: {14[T in MediaType]: string;15};16export declare const MEDIA_KEYS: MediaType[];17export declare const KEY_BUNDLE_TYPE = "\u0005";181920