// generated by diplomat-tool import type { NucleationError } from "./NucleationError.mjs" import type { Schematic } from "./Schematic.mjs" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * Free functions in the old ABI hung directly off `schematic_*`; here they get a * namespacing opaque-less home via static methods on a zero-size type is not * supported, so they live as static methods taking `&Schematic` explicitly. */ export class Autostack { /** @internal */ get ffiValue(): pointer; /** @internal */ constructor(); /** * Detect repeating structures (region coverage). Writes a JSON array string; * each element has `mode`, `vectors`, `coverage`, `region_min`/`region_max`, * `cell_min`/`cell_max`, `label`. */ static detectStructures(schematic: Schematic): string; /** * Graph-based detection: recovers diagonal lattice periods via the redstone * logic graph. Writes `"[]"` for non-redstone builds. Requires the * `simulation` feature; writes `"[]"` when compiled without it. */ static detectStructuresGraph(schematic: Schematic): string; /** * Resize a 1D / diagonal structure along its period vector. */ static resize1d(schematic: Schematic, vx: number, vy: number, vz: number, units: number): Schematic; /** * Resize a 2D structure to `n1`×`n2` cells along the two period vectors. */ static resize2d(schematic: Schematic, v1x: number, v1y: number, v1z: number, v2x: number, v2y: number, v2z: number, n1: number, n2: number): Schematic; }