import { type DecimatedDepthUpload, type DepthPreparationWorkerRequest, type DepthPreparationWorkerResponse } from "./worker-protocol"; /** * Answers one decode request, in the worker or on the main thread: the reply * and the buffers it can transfer. A file that does not decode is an error * reply, never a thrown exception, so the caller can tell a bad file from a * broken worker. */ export declare function decodeDepthPreparationRequest(request: Omit & { readonly requestId?: number; }): Promise<{ readonly response: DepthPreparationWorkerResponse; readonly transfer: Transferable[]; }>; /** * Depth for a texture `factor` times smaller on each side, each texel the * sample at its block's centre, as the renderer decimates a map larger than * the GPU allows. */ export declare function decimateDepthUpload(values: Uint16Array, width: number, height: number, factor: number, padRowsForWebGl: boolean): DecimatedDepthUpload | null; //# sourceMappingURL=frame-decode.d.ts.map