UNPKG

capacitor-plugin-scanbot-sdk

Version:

Scanbot Document and Barcode Scanner SDK for Capacitor

83 lines (78 loc) 2.7 kB
import { ButtonConfiguration, StyledText } from '../../ui_v2/common/Common'; import type { DeepPartial } from '../../utils/utils'; import { PartiallyConstructible } from '../../utils/utils'; /** The image for the introduction screen of a check scanner screen. */ export type CheckScannerIntroImage = CheckIntroDefaultImage | CheckNoImage | CheckIntroCustomImage; /** No image for the introduction screen. */ export declare class CheckIntroDefaultImage extends PartiallyConstructible { readonly _type: 'CheckIntroDefaultImage'; /** @param source {@displayType `DeepPartial<CheckIntroDefaultImage>`} */ constructor(source?: DeepPartial<CheckIntroDefaultImage>); } /** No image for the introduction screen. */ export declare class CheckNoImage extends PartiallyConstructible { readonly _type: 'CheckNoImage'; /** @param source {@displayType `DeepPartial<CheckNoImage>`} */ constructor(source?: DeepPartial<CheckNoImage>); } /** A custom image for the introduction screen. */ export declare class CheckIntroCustomImage extends PartiallyConstructible { readonly _type: 'CheckIntroCustomImage'; /** The web or file URI to the image. */ uri: string; /** @param source {@displayType `DeepPartial<CheckIntroCustomImage>`} */ constructor(source?: DeepPartial<CheckIntroCustomImage>); } /** Configuration of the introduction screen for the check scanner. */ export declare class CheckScannerIntroScreenConfiguration extends PartiallyConstructible { /** The image for the introduction screen. */ image: CheckScannerIntroImage; /** The background color of the introduction screen. Default is "?sbColorSurface" */ backgroundColor: string; /** The divider color of the introduction screen. Default is "?sbColorOutline" */ dividerColor: string; /** The handle color of the introduction screen. Default is "?sbColorOutline" */ handlerColor: string; /** Determines whether the introduction screen should automatically be shown or not when the scanning session starts. Default is false */ showAutomatically: boolean; /** The title of the introduction screen, located in the top bar. */ title: StyledText; /** The text explanation of the introduction screen. */ explanation: StyledText; /** Configuration of the 'Done' / 'Start scanning' button. */ doneButton: ButtonConfiguration; /** @param source {@displayType `DeepPartial<CheckScannerIntroScreenConfiguration>`} */ constructor(source?: DeepPartial<CheckScannerIntroScreenConfiguration>); }