// generated by diplomat-tool import type { NucleationError } from "./NucleationError.mjs" import type { RenderConfig } from "./RenderConfig.mjs" import type { ResourcePack } from "./ResourcePack.mjs" import type { Schematic } from "./Schematic.mjs" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * Namespace type for the render entry points (PORTING rule 12). */ export class Renderer { /** @internal */ get ffiValue(): pointer; /** @internal */ constructor(); /** * Render a schematic to raw RGBA pixel bytes, written as base64 * (PORTING rule 6). `pack_zip` is a resource-pack zip in memory. */ static renderPixelsB64(schematic: Schematic, packZip: Array, config: RenderConfig): string; /** * Render a schematic to PNG bytes, written as base64 (PORTING rule 6). * `pack_zip` is a resource-pack zip in memory. */ static renderPngB64(schematic: Schematic, packZip: Array, config: RenderConfig): string; /** * Render a schematic to a PNG file at `path`. */ static renderToFile(schematic: Schematic, packZip: Array, config: RenderConfig, path: string): void; /** * Render with an already parsed resource pack, avoiding repeated ZIP parsing. */ static renderToFileWithPack(schematic: Schematic, pack: ResourcePack, config: RenderConfig, path: string): void; /** * Render raw RGBA pixels with an already parsed resource pack. */ static renderPixelsB64WithPack(schematic: Schematic, pack: ResourcePack, config: RenderConfig): string; /** * Render PNG bytes with an already parsed resource pack. */ static renderPngB64WithPack(schematic: Schematic, pack: ResourcePack, config: RenderConfig): string; }