// generated by diplomat-tool import type { NucleationError } from "./NucleationError.mjs" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * One segmentation run's parameters (the primitive knobs of * {@link SegmentJob}(crate::world_segment::runner::SegmentJob), plus a * `hard_cut` flag selecting {@link PartitionPolicy}). Built once, passed by * reference into {@link WsRunResult::run_dir}. */ export class WsSegmentJob { /** @internal */ get ffiValue(): pointer; /** @internal */ constructor(); /** * `algorithm_version` is pinned to * {@link SegConfig::default}(crate::world_segment::segment::SegConfig)'s * value; `score_config` uses `ScoreConfig::default()`. Neither is * exposed as a knob here — construct a `SegmentJob` directly in Rust * if you need to override them. */ static create(cellSize: number, closingRadius: number, minClusterBlocks: bigint, sourceId: string, snapshotId: string, minY: number, maxY: number, extractedAt: bigint, matchIou: number, hardCut: boolean): WsSegmentJob; }