/**
 * Collapses an edge by merging its two vertices into one, relocating the surviving
 * vertex to the supplied coordinate.
 *
 * All faces incident to the collapse edge are removed (they would become degenerate),
 * while faces that only share one of the endpoints are retained and re-stitched onto
 * the surviving vertex. The victim vertex is released.
 *
 * NOTE: Does not perform a weld pass, so collapses that share "link" vertices between
 * the two endpoints will produce duplicate (parallel) edges. The topology remains
 * self-consistent (disk and radial cycles are intact), but callers doing mesh
 * simplification typically want to run a cleanup pass afterward.
 *
 * @param {BinaryTopology} mesh
 * @param {number} edge_id The edge to collapse
 * @param {number[]|Float32Array} new_position New coordinate for the surviving vertex
 * @param {number} [new_position_offset] Offset into `new_position`
 * @returns {number} The surviving vertex ID
 */
export function bt_edge_collapse(mesh: BinaryTopology, edge_id: number, new_position: number[] | Float32Array, new_position_offset?: number): number;
//# sourceMappingURL=bt_edge_collapse.d.ts.map