import type { Image } from '../Image.js'; import type { BorderInterpolationFunction, ClampFunction } from './utils.types.js'; export declare const InterpolationType: { readonly NEAREST: "nearest"; readonly BILINEAR: "bilinear"; readonly BICUBIC: "bicubic"; }; export type InterpolationType = (typeof InterpolationType)[keyof typeof InterpolationType]; type InterpolationFunction = (image: Image, column: number, row: number, channel: number, intepolateBorder: BorderInterpolationFunction, clamp: ClampFunction) => number; /** * Get the interpolation function based on its name. * @param interpolationType - Specified interpolation type. * @returns The interpolation function. */ export declare function getInterpolationFunction(interpolationType: InterpolationType): InterpolationFunction; export {}; //# sourceMappingURL=interpolatePixel.d.ts.map