capacitor-plugin-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK for Capacitor
24 lines (23 loc) • 824 B
TypeScript
import { ToJsonConfiguration } from '../../utils/json/JsonSerializationTypes';
import type { DeepPartial } from '../../utils/utils';
import { PartiallyConstructible } from '../../utils/utils';
/**
Configuration of the cropping result.
*/
export declare class CroppingResult extends PartiallyConstructible {
/**
The UUID of the document that was cropped.
*/
readonly documentUuid: string;
/**
The UUID of the page of the document that was cropped.
*/
readonly pageUuid: string;
/**
The error message if a problem occurred.
*/
readonly errorMessage: string | null;
/** @param source {@displayType `DeepPartial<CroppingResult>`} */
constructor(source?: DeepPartial<CroppingResult>);
serialize(config?: ToJsonConfiguration): DeepPartial<CroppingResult>;
}