/**
 * Copy the contents of the source image to the destination image
 * @param source - the source image
 * @param dest - the destination image
 * @param sx - source starting x point [Default: 0]
 * @param sy - source starting y point [Default: 0]
 * @param sw - source width to use [Default: source width - sx]
 * @param sh - source height to use [Default: source height - sy]
 * @param dx - destination starting x point [Default: 0]
 * @param dy - destination starting y point [Default: 0]
 */
export declare function copyImage(source: ImageData, dest: ImageData, sx?: number, sy?: number, sw?: number, sh?: number, dx?: number, dy?: number): void;
/**
 * Create an image given the size, fill color and number of channels
 * @param width - the image width
 * @param height - the image height
 * @param data - the image data [Default: creates a new array]
 * @param fill - the fill color [Default: [0, 0, 0, 0]]
 * @param channels - the number of channels [Default: 4]
 * @returns - the created image
 */
export declare function createImage(width: number, height: number, data?: Uint8ClampedArray, fill?: number[] | Uint8ClampedArray, channels?: number): ImageData;
/**
 * Lanczos resize function
 * @param source - the source image
 * @param dest - the destination image
 * @param use2 - use 2nd lanczos filter instead of 3rd
 */
export declare function resizeImage(source: ImageData, dest: ImageData, use2?: boolean): void;
/**
 * Convolve an image with a filter
 * @param source - the source image
 * @param dest - the destination image
 * @param sw - source width
 * @param sh - source height
 * @param dw - destination width
 * @param filters - image filter
 */
export declare function convolveImage(source: Uint8ClampedArray, dest: Uint8ClampedArray, sw: number, sh: number, dw: number, filters: Int16Array): void;
//# sourceMappingURL=util.d.ts.map