UNPKG

@remotion/renderer

Version:

Render Remotion videos using Node.js or Bun

20 lines (19 loc) 583 B
import type { WS } from '../ws/ws-types'; interface ConnectionTransport { send(message: string): void; close(): void; onmessage?: (message: string) => void; onclose?: () => void; } export declare class NodeWebSocketTransport implements ConnectionTransport { static create(urlString: string): Promise<NodeWebSocketTransport>; websocket: WS; onmessage?: (message: string) => void; onclose?: () => void; constructor(ws: WS); send(message: string): void; close(): void; forgetEventLoop(): void; rememberEventLoop(): void; } export {};