UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

33 lines (32 loc) 991 B
import { Asset } from "./Asset"; import { ExternalStorageType } from "./ExternalStorageType"; /** * This class represents an asset stored in an external storage. */ export declare class ExternalAsset implements Asset { private readonly _uri; private readonly _storage?; /** * Constructs an instance of `ExternalAsset`. * * @param params - The parameters for constructing an instance of `ExternalAsset`. * @param params.uri - URI of the external asset. * @param [params.storageType] - External storage type. */ constructor(params: { uri: string; storageType?: ExternalStorageType; }); /** * Returns the URI of the external asset. * * @returns URI of the external asset. */ get uri(): string; /** * Returns the externalStorageType of the external asset. * * @returns external storage type of the external asset. */ get storageType(): ExternalStorageType | undefined; }