import type { SdkConfiguration } from './types/base/SdkConfiguration'; import type { LicenseInfo } from './types/core/licensing/LicensingTypes'; /** * Entry point for all features that are part of Scanbot Barcode Scanner SDK. */ export declare const ScanbotBarcodeSdk: { /** * Used for barcode scanning features. */ Barcode: { startScanner(configuration: import("./types").BarcodeScannerScreenConfiguration): Promise>; scanFromImage(params: { image: import("./types").ImageInput; configuration: import("./types").BarcodeScannerConfiguration; }): Promise; scanFromPdf(params: { pdfFileUri: string; configuration: import("./types").BarcodeScannerConfiguration; }): Promise; parseDocument(params: { rawText: string; acceptedFormats?: import("./types").BarcodeDocumentFormat[]; }): Promise; }; /** * Used for image processing features. */ ImageProcessor: { readImageData(imageFileUri: string): Promise; }; /** * Mock camera preview by using static images as a frame source. This is useful for testing purposes. * @param {string} params.imageFileUri - The file uri of the image to be used as a mock camera frame. * @param {boolean} params.refreshOnEachFrame - If true, the mock camera will refresh the frame on each request, simulating a live camera feed. Default is false * @returns {Promise} */ mockCamera(params: { imageFileUri: string; refreshOnEachFrame?: boolean; }): Promise; /** * Initializes the Scanbot SDK with the preferred configuration. * @param {SdkConfiguration} configuration - The SDK configuration to be used for initialization. * @returns {Promise} - Returns complete information about the license used for initialization. */ initialize(configuration: SdkConfiguration): Promise; /** * Provides complete information about the current license. * @returns {Promise} - Returns complete information about the current license. */ getLicenseInfo(): Promise; /** * Cleans up the storage used by the Scanbot SDK. * @returns {Promise} */ cleanupStorage(): Promise; };