import type { DistortionProcessor } from "./DistortionProcessor"; import type { ImageAdapter } from "../image-adapter"; import type { ColorResampler } from "../color-resampler"; /** * Proxy for performing image colors super-sampling. */ export declare class SuperSamplingProxy implements DistortionProcessor { private readonly processor; private readonly superSamplingFactor; /** * SuperSamplingProxy constructor. * * @param processor * @param superSamplingFactor */ constructor(processor: DistortionProcessor, superSamplingFactor: number); /** * Sets resampler's scaling before distortion processing and scales processed image after distortion is processed. * * @param targetImage * @param resampler */ process(targetImage: ImageAdapter, resampler: ColorResampler): Promise>; }