@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
30 lines (29 loc) • 970 B
TypeScript
import { PDFServicesJobResult } from "./PDFServicesJobResult";
import { Asset } from "../../io/Asset";
/**
* This class encapsulates the result of {@link SplitPDFJob}.
*/
export declare class SplitPDFResult implements PDFServicesJobResult {
private readonly _assets?;
private readonly _asset?;
/**
* Constructs a new `SplitPDFResult` instance
*
* @param [assets] - List of result assets
* @param [asset] - The zipped asset associated with the {@link SplitPDFJob} result
*/
constructor(assets?: Asset[], asset?: Asset);
/**
* Returns the list of result assets, if an internal asset was used as input PDF.
*
* @returns List of {@link Asset}
*/
get assets(): Asset[] | undefined;
/**
* Returns the zipped asset associated with the {@link SplitPDFJob} result, if an external asset was used as
* input PDF.
*
* @returns {@link Asset}
*/
get asset(): Asset | undefined;
}