This commit is contained in:
parent
123dc3dc92
commit
7e82ac91a7
10
index.d.ts
vendored
10
index.d.ts
vendored
@ -487,14 +487,16 @@ interface PdfPackage {
|
||||
* @returns []byte of new pdf data
|
||||
*/
|
||||
cpu(
|
||||
command: "watermark",
|
||||
command: "watermark" | "stamp",
|
||||
pdfData: any,
|
||||
options: {
|
||||
description: {
|
||||
pages?: (string | number)[]
|
||||
description?: {
|
||||
[key: string]: number | string
|
||||
}
|
||||
mode: "image"
|
||||
bytes: any // []byte of watermark image
|
||||
mode?: "image" | "pdf"
|
||||
bytes?: any // []byte of watermark image
|
||||
file?: string // file for pdf watermark
|
||||
}
|
||||
): any
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user