// 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"; /** * Deterministic, lossless pieces returned by * {@link Schematic::split_connected_attach_nearby}. Pieces are ordered by their * largest connected component, largest first. */ export class SchematicSplitResult { /** @internal */ get ffiValue(): pointer; /** @internal */ constructor(); len(): number; /** * Return an independently owned piece by zero-based index. */ piece(index: number): Schematic; }