UNPKG

673 BTypeScriptView Raw
1import { ClientApplication } from '../../client';
2import { ActionSet } from '../helper';
3import { Action, Options } from './types';
4/**
5 * A set of Actions for displaying a Camera or NFC Scanner component
6 * @public
7 */
8export declare class Scanner extends ActionSet {
9 constructor(app: ClientApplication<any>, options?: Options);
10 /**
11 * @public
12 */
13 dispatch(action: Action.OPEN_CAMERA): Scanner;
14 /**
15 * @public
16 */
17 dispatch(action: Action.OPEN_NFC): Scanner;
18 /**
19 * @internal
20 */
21 private dispatchScannerAction;
22}
23/**
24 * @public
25 */
26export declare function create(app: ClientApplication<any>, options?: Options): Scanner;