import type { Image } from '../../../Image.js';
import type { Point } from '../../../geometry/index.js';
/**
 * Crop source image for contrast enhancement.
 * @param source - Source image enlarged compared to the destination image.
 * @param destination - Destination image.
 * @param destinationOrigin - Estimated origin of the destination image in the source image (relative to top-left corner).
 * @returns The source image without margins.
 */
export declare function getSourceWithoutMargins(source: Image, destination: Image, destinationOrigin: Point): Image;
//# sourceMappingURL=getSourceWithoutMargins.d.ts.map