/**
 * Compute the divergence of a cell-centered velocity field into a scalar field.
 *
 *     div(c) ≈ 0.5 * ( u(x+1) - u(x-1) + v(y+1) - v(y-1) + w(z+1) - w(z-1) )
 *
 * Boundary cells use one-sided differences (`u(x+1) - u(x)` or `u(x) - u(x-1)`), keeping
 * the scheme consistent for free outflow. Solid cells get divergence 0 — they are not
 * fluid and don't participate in the pressure solve.
 *
 * Unit assumption: cell spacing h = 1 (positions are in grid units). If you advect with
 * "world units per second" velocities, convert before calling.
 *
 * @param {Float32Array} divergence  Destination, mutated.
 * @param {Float32Array} vel_x
 * @param {Float32Array} vel_y
 * @param {Float32Array} vel_z
 * @param {number} res_x
 * @param {number} res_y
 * @param {number} res_z
 * @param {Uint8Array} solid          Required (zero-filled for a wall-free domain).
 */
export function v3_grid_compute_divergence(divergence: Float32Array, vel_x: Float32Array, vel_y: Float32Array, vel_z: Float32Array, res_x: number, res_y: number, res_z: number, solid: Uint8Array): void;
//# sourceMappingURL=v3_grid_compute_divergence.d.ts.map