import type { IntBuffer } from "@thi.ng/pixel";
import type { DitherKernel, DitherOpts } from "./api.js";
/**
 * Generic kernel-based dithering. Takes a {@link DitherKernel} and integer
 * pixel buffer (multiple channels supported). Applies dithering to all (or
 * configured) channels using provided options. Returns modified pixel buffer.
 *
 * @param kernel -
 * @param img -
 * @param opts -
 */
export declare const ditherWith: (kernel: DitherKernel, img: IntBuffer, opts?: Partial<DitherOpts>) => IntBuffer;
//# sourceMappingURL=dither.d.ts.map