UNPKG

capacitor-plugin-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK for Capacitor

39 lines (37 loc) 1.16 kB
import { PageData } from '../document_scanner/PageData'; import { ToJsonConfiguration } from '../utils/json/JsonSerializationTypes'; import type { DeepPartial } from '../utils/utils'; import { PartiallyConstructible } from '../utils/utils'; /** Document Data. */ export declare class DocumentData extends PartiallyConstructible { /** The unique identifier of the document. */ readonly uuid: string; /** The creation timestamp of the document. */ readonly creationTimestamp: number; /** The list of pages. */ readonly pages: PageData[]; /** The maximum size of the document image. Default is 0 */ readonly documentImageSizeLimit: number; /** The URI of the default destination location for PDF rendering. */ readonly pdfURI: string; /** The URI of the default destination location for TIFF rendering. */ readonly tiffURI: string; /** @param source {@displayType `DeepPartial<DocumentData>`} */ constructor(source?: DeepPartial<DocumentData>); serialize(config?: ToJsonConfiguration): DeepPartial<DocumentData>; }