UNPKG

rrweb

Version:
7 lines (6 loc) 746 B
import type { IWindow, CanvasArg } from '@rrweb/types'; export declare function variableListFor(ctx: RenderingContext, ctor: string): unknown[]; export declare const saveWebGLVar: (value: unknown, win: IWindow, ctx: RenderingContext) => number | void; export declare function serializeArg(value: unknown, win: IWindow, ctx: RenderingContext): CanvasArg; export declare const serializeArgs: (args: Array<unknown>, win: IWindow, ctx: RenderingContext) => CanvasArg[]; export declare const isInstanceOfWebGLObject: (value: unknown, win: IWindow) => value is WebGLProgram | WebGLShader | WebGLActiveInfo | WebGLBuffer | WebGLFramebuffer | WebGLRenderbuffer | WebGLShaderPrecisionFormat | WebGLTexture | WebGLUniformLocation | WebGLVertexArrayObject;