import type { GeometrySerializationResult, Serializer as ISerializer, TextureSerializationResult } from './type'; import type { BinaryPointer, BinaryType, GeometryOptionsJSON, BinaryEnv } from '@predy-js/specification'; import type { GeometryOptions, TextureOptions, TypedArray } from '@predy-js/render-interface'; export * from './type'; export { getCompositionGraph } from './SceneGraph'; export declare class Serializer implements ISerializer { static serializeTexturesAsync(textures: TextureOptions[]): Promise; static deserializeGeometry(geo: GeometryOptionsJSON, data: ArrayBuffer[]): GeometryOptions; static concatArrayBuffers(buffers: Array, pointers?: BinaryPointer[], overwrite?: boolean): { data: ArrayBuffer; pointers: BinaryPointer[]; }; static serializeGeometries(geometries: GeometryOptions[], bufferIndex?: string | number): GeometrySerializationResult; static typedArrayFromBinary(binary: ArrayBuffer[], pointer: BinaryPointer): TypedArray | ArrayBuffer; } export declare function getBinaryType(arr: TypedArray | ArrayBuffer): BinaryType;