capacitor-plugin-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK for Capacitor
28 lines (27 loc) • 1.36 kB
TypeScript
import type { ImageInput } from './types/base/customTypes';
import type { TiffGeneratorParameters } from './types/core/tiff_generation/TiffTypes';
/**
* Entry point for all TIFF generation features.
*/
export declare const ScanbotTiffGenerator: {
/**
* Creates a TIFF from the provided images with the specified configuration.
* @param {ImageInput[]} params.images - The list of images to be used for creating the TIFF.
* @param {TiffGeneratorParameters} params.tiffGeneratorParameters - The configuration parameters for TIFF generation.
* @returns {Promise<string>} - The file uri pointing to the generated TIFF file.
*/
generateFromImages(params: {
images: ImageInput[];
tiffGeneratorParameters: TiffGeneratorParameters;
}): Promise<string>;
/**
* Creates a TIFF from the provided images with the specified configuration.
* @param {string} params.documentUuid - The Uuid of the document to be used for creating the TIFF.
* @param {TiffGeneratorParameters} params.tiffGeneratorParameters - The configuration parameters for TIFF generation.
* @returns {Promise<string>} - The file uri pointing to the generated TIFF file.
*/
generateFromDocument(params: {
documentUuid: string;
tiffGeneratorParameters: TiffGeneratorParameters;
}): Promise<string>;
};