@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
32 lines (31 loc) • 1.09 kB
TypeScript
import { PDFServicesJobParams } from "../PDFServicesJobParams";
import { CombinePDFJobInput } from "../../../internal/params/CombinePDFJobInput";
import { Asset } from "../../../io/Asset";
import { PageRanges } from "../PageRanges";
/**
* Parameters for combining PDFs using {@link CombinePDFJob}.
*/
export declare class CombinePDFParams implements PDFServicesJobParams {
private readonly _assetsToCombine;
/**
* Constructs a new `CombinePDFParams` instance.
*/
constructor();
/**
* Adds an {@link Asset} to combine.
*
* @param asset - The asset to be combined. Cannot be undefined.
* @param [pageRanges] - The page ranges to be combined for the input file. If not provided, all pages
* will be combined.
* @returns This `CombinePDFParams` instance.
*/
addAsset(asset: Asset, pageRanges?: PageRanges): CombinePDFParams;
/**
* @hidden
*/
validate(): void;
/**
* @internal Used internally by this SDK, not intended to be called by clients.
*/
get assetsToCombine(): CombinePDFJobInput[];
}