diff --git a/types/sharp/index.d.ts b/types/sharp/index.d.ts index 9b9957fef7..3f6cc07c45 100644 --- a/types/sharp/index.d.ts +++ b/types/sharp/index.d.ts @@ -200,21 +200,6 @@ declare namespace sharp { //#region Composite functions - /** - * Overlay (composite) an image over the processed (resized, extracted etc.) image. - * - * The overlay image must be the same size or smaller than the processed image. - * If both top and left options are provided, they take precedence over gravity. - * - * If the overlay image contains an alpha channel then composition with premultiplication will occur. - * @param image Buffer containing image data or String containing the path to an image file. - * @param options overlay options - * @throws {Error} Invalid parameters - * @returns A sharp instance that can be used to chain operations - * @deprecated - */ - overlayWith(image?: string | Buffer, options?: OverlayOptions): Sharp; - /** * Composite image(s) over the processed (resized, extracted etc.) image. *