/* Elaina Baileys maintained distribution. Upstream notices and license are preserved in LICENSE and NOTICE.md. */ export declare class WasmEngine { constructor(config?: { wasmPath?: string; wasmBinary?: Uint8Array | Buffer; resourcesPath?: string; storageDir?: string; loaderCode?: string; workerModulesCode?: string; enableLogs?: boolean; options?: Record; callbacks?: Record; }); initialize(): Promise; isInitialized(): boolean; initVoipStack(selfPnJid: string, selfJid: string, selfLidJid: string): void; waitForVoipStackReady(): Promise; startGroupCall(options: Record): unknown; joinOngoingCall(options: Record): unknown; acceptCall(isMicEnabled?: boolean, isCameraEnabled?: boolean): unknown; sendVideoFrame(frame: Uint8Array, width: number, height: number, fps: number, format?: number, orientation?: number, useDesktopCapture?: boolean): boolean; startScreenShare(): unknown; stopScreenShare(): unknown; releaseVideoFrameBuffer(): void; destroy(): void; } export default WasmEngine;