/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten. /// Generated from xplatforms/schemas/document_scanner/TextPattern.yaml import { ScanbotTextPatternImpl } from './impl'; import { ResultWrapper } from './types/base/customTypes'; import { TextPatternScannerScreenConfiguration } from './types/core/ui_v2/text_pattern/TextPatternScannerScreenConfiguration'; import { TextPatternScannerUiResult } from './types/core/ui_v2/text_pattern/TextPatternScannerUiResult'; /** * Entry point for all Text Pattern scanning features. */ export const ScanbotTextPattern = { /** * Opens the Ready-To-Use UI Text Pattern scanner with the desired configuration. * @param {TextPatternScannerScreenConfiguration} configuration - The Text Pattern scanner configuration to be used for scanning. * @returns {Promise>} - The result of the Text Pattern scanning operation. */ async startScanner( configuration: TextPatternScannerScreenConfiguration ): Promise> { return ScanbotTextPatternImpl.startScanner(configuration); }, };