import type { T3DRenderer } from "../../../vue/components/T3DViewport.js"; export type BunWebGPUTextureData = Readonly<{ /** Texture width in pixels. */ width: number; /** Texture height in pixels. */ height: number; /** Tightly packed RGBA8 pixels, ordered from top-left to bottom-right. */ rgba: Uint8Array; }>; export type BunWebGPU3DRendererOptions = Readonly<{ /** Compute shader with the T3D uniform block at binding 0 and RGBA8 storage output at binding 1. */ shader: string; /** Optional RGBA8 sampled texture exposed to the shader at binding 2. */ texture?: BunWebGPUTextureData; /** Label included in WebGPU resources and error messages. */ label?: string; }>; export type TerminalBadge3DRendererOptions = Readonly<{ /** Label included in WebGPU resources and error messages. */ label?: string; }>; export declare function rgbaToGray8(rgba: Uint8Array): Uint8Array; /** Creates a Bun-only Pull renderer backed by a raw WGSL compute shader. */ export declare function createBunWebGPU3DRenderer(options: BunWebGPU3DRendererOptions): T3DRenderer; /** Creates the direction-E vue-tui terminal badge renderer. */ export declare function createTerminalBadge3DRenderer(options?: TerminalBadge3DRendererOptions): T3DRenderer;