import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
export declare const setBorder: (src: Vec, w: number, h: number, val: number) => Vec<number>;
/**
 * Takes an linearized 2d input field of scalars (i.e. `src` array), its
 * `width`, `height` and computes iso lines (contours) for given `iso` threshold
 * value. The computation is implemented as a generator, yielding 1 point array
 * per found contour. The returned points optionally can be scaled using `scale`
 * factor or vector. The default scale of 1.0 will result in coords in these
 * ranges: `[0.5,w-0.5]` (for X) and `[0.5,h-0.5]` (for Y).
 *
 * @param src -
 * @param w -
 * @param h -
 * @param iso -
 * @param scale -
 */
export declare function isolines(src: ReadonlyVec, w: number, h: number, iso: number, scale?: ReadonlyVec | number): Generator<Vec<number>[], void, unknown>;
//# sourceMappingURL=index.d.ts.map