import { FloatBuffer } from "@thi.ng/pixel/float";
import type { NormalMapOpts } from "./api.js";
/**
 * Computes normal map image (aka gradient in X & Y directions and a static Z
 * value) for a single channel in given {@link FloatBuffer}. The resulting
 * buffer will use the {@link FLOAT_NORMAL} format, storing the horizontal
 * gradient in the 1st channel (red), vertical gradient in the 2nd channel
 * (green) and sets last channel to given `z` value (blue).
 *
 * @remarks
 * The gradient values will be scaled with `scale` (default: 1, but supports
 * individual X/Y factors). Gradient values will be signed.
 *
 * The partial gradients of the last column/row will be set to zero
 * (respectively). I.e. the right most pixel column will have `red = 0` and last
 * row will have `green = 0`.
 *
 * @param src -
 * @param opts -
 */
export declare const normalMap: (src: FloatBuffer, opts?: Partial<NormalMapOpts>) => FloatBuffer;
//# sourceMappingURL=normal-map.d.ts.map