@forgerock/recognize 0.0.0-beta-20260811162949

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +56 -0
  3. package/dist/src/index.d.ts +4 -0
  4. package/dist/src/index.d.ts.map +1 -0
  5. package/dist/src/index.js +3 -0
  6. package/dist/src/lib/defs/constants.d.ts +4 -0
  7. package/dist/src/lib/defs/constants.d.ts.map +1 -0
  8. package/dist/src/lib/defs/constants.js +19 -0
  9. package/dist/src/lib/defs/recognize-error-code.d.ts +43 -0
  10. package/dist/src/lib/defs/recognize-error-code.d.ts.map +1 -0
  11. package/dist/src/lib/defs/recognize-error-code.js +50 -0
  12. package/dist/src/lib/defs/recognize-sdk-to-recognize-proxy-error-map.d.ts +3 -0
  13. package/dist/src/lib/defs/recognize-sdk-to-recognize-proxy-error-map.d.ts.map +1 -0
  14. package/dist/src/lib/defs/recognize-sdk-to-recognize-proxy-error-map.js +57 -0
  15. package/dist/src/lib/functions/create-recognize-error.d.ts +4 -0
  16. package/dist/src/lib/functions/create-recognize-error.d.ts.map +1 -0
  17. package/dist/src/lib/functions/create-recognize-error.js +19 -0
  18. package/dist/src/lib/functions/get-recognize-error-code-key.d.ts +4 -0
  19. package/dist/src/lib/functions/get-recognize-error-code-key.d.ts.map +1 -0
  20. package/dist/src/lib/functions/get-recognize-error-code-key.js +15 -0
  21. package/dist/src/lib/functions/set-attributes.d.ts +3 -0
  22. package/dist/src/lib/functions/set-attributes.d.ts.map +1 -0
  23. package/dist/src/lib/functions/set-attributes.js +66 -0
  24. package/dist/src/lib/recognize-sdk/index.d.ts +1248 -0
  25. package/dist/src/lib/recognize-sdk/index.js +66981 -0
  26. package/dist/src/lib/recognize-sdk/pthreads/wasm.js +32828 -0
  27. package/dist/src/lib/recognize-sdk/pthreads/wasm.wasm +0 -0
  28. package/dist/src/lib/recognize-sdk/wasm.data +0 -0
  29. package/dist/src/lib/recognize-sdk/wasm.js +31578 -0
  30. package/dist/src/lib/recognize-sdk/wasm.wasm +0 -0
  31. package/dist/src/lib/recognize.d.ts +8 -0
  32. package/dist/src/lib/recognize.d.ts.map +1 -0
  33. package/dist/src/lib/recognize.js +122 -0
  34. package/dist/src/lib/recognize.types.d.ts +113 -0
  35. package/dist/src/lib/recognize.types.d.ts.map +1 -0
  36. package/dist/src/lib/recognize.types.js +9 -0
  37. package/dist/src/types.d.ts +2 -0
  38. package/dist/src/types.d.ts.map +1 -0
  39. package/dist/src/types.js +1 -0
  40. package/dist/tsconfig.lib.tsbuildinfo +1 -0
  41. package/package.json +71 -0
@@ -0,0 +1,1248 @@
1
+ import type { AnimationPlaybackControlsWithThen } from 'motion';
2
+ import { AracnaBaseElement } from '@aracna/web-components/elements/core/base-element';
3
+ import type { AracnaBaseElementAttributes } from '@aracna/web-components';
4
+ import type { AracnaBaseElementEventMap } from '@aracna/web-components';
5
+ import { AracnaButtonElement } from '@aracna/web-components/elements/input/button-element';
6
+ import type { AracnaButtonElementEventMap } from '@aracna/web-components';
7
+ import { AracnaDialogElement } from '@aracna/web-components/elements/feedback/dialog-element';
8
+ import type { AracnaDialogElementAttributes } from '@aracna/web-components';
9
+ import type { AracnaDialogElementEventMap } from '@aracna/web-components';
10
+ import { AracnaIconElement } from '@aracna/web-components/elements/data/icon-element';
11
+ import { AracnaQrCodeElement } from '@aracna/web-components/elements/data/qr-code-element';
12
+ import type { AracnaQrCodeElementAttributes } from '@aracna/web-components';
13
+ import type { AracnaQrCodeElementEventMap } from '@aracna/web-components';
14
+ import { AracnaSelectButtonElement } from '@aracna/web-components/elements/input/select-element';
15
+ import { AracnaSelectButtonElementEventMap } from '@aracna/web-components';
16
+ import { AracnaSelectOptionElement } from '@aracna/web-components/elements/input/select-element';
17
+ import { AracnaTextElement } from '@aracna/web-components/elements/typography/text-element';
18
+ import type { AracnaTextElementAttributes } from '@aracna/web-components';
19
+ import type { AracnaTextElementEventMap } from '@aracna/web-components';
20
+ import { CreateKeylessMediaStreamArgs } from '@keyless/sdk-web';
21
+ import { CSSResultGroup } from 'lit';
22
+ import { FormControlChangeEvent } from '@aracna/web-components';
23
+ import { IResult } from '@ua-parser-js/pro-enterprise';
24
+ import { KeylessMediaDevice } from '@keyless/sdk-web';
25
+ import { KeylessVideoFrameQuality } from '@keyless/sdk-web';
26
+ import { KeylessVideoFrameQualityFilter } from '@keyless/sdk-web';
27
+ import { KeylessVideoFrameQualitySource } from '@keyless/sdk-web';
28
+ import { LocalizationPack } from '@aracna/core';
29
+ import { LocalizationVariables } from '@aracna/core';
30
+ import { LoggerLevel } from '@aracna/core';
31
+ import { nothing } from 'lit';
32
+ import { PropertyDeclarations } from 'lit';
33
+ import { QueryDeclarations } from '@aracna/web-components';
34
+ import { ReactiveController } from 'lit';
35
+ import { ReactiveControllerHost } from 'lit';
36
+ import { setKeylessGetVideoMediaDevicesArgs } from '@keyless/sdk-web';
37
+ import { TemplateResult } from 'lit';
38
+ import { Theme } from '@aracna/core';
39
+
40
+ /** @public */
41
+ declare class _ extends ErrorEvent {
42
+ reason?: string;
43
+ constructor(eventInitDict?: ErrorEventInit, reason?: string);
44
+ }
45
+
46
+ /** @public */
47
+ export declare const DEFAULT_KEYLESS_LOCALIZATION_LANGUAGE: string;
48
+
49
+ /** @internal */
50
+ declare interface Element_2 extends HTMLElement {
51
+ theme?: Theme;
52
+ }
53
+
54
+ /** @internal */
55
+ declare interface Element_3 extends HTMLElement {
56
+ localizationPacks?: LocalizationPack[];
57
+ localizationVariables?: LocalizationVariables;
58
+ }
59
+
60
+ /** @internal */
61
+ declare interface Element_4 extends HTMLElement {
62
+ disableLogger?: boolean;
63
+ loggerLevel?: LoggerLevel;
64
+ }
65
+
66
+ /** @internal */
67
+ declare interface Element_5 extends HTMLElement {
68
+ step: KeylessComponentsStep;
69
+ }
70
+
71
+ /** @public */
72
+ export declare const KEYLESS_COMPONENTS_VERSION: string;
73
+
74
+ /** @public */
75
+ export declare class KeylessAppearanceController implements ReactiveController {
76
+ private host;
77
+ constructor(host: ReactiveControllerHost & Element_2);
78
+ hostConnected(): Promise<void>;
79
+ hostUpdate(): void;
80
+ setAttributes(): void;
81
+ }
82
+
83
+ /** @public */
84
+ export declare class KeylessAuthElement extends RootElement {
85
+ get slug(): KeylessElementSlug;
86
+ }
87
+
88
+ /** @public */
89
+ export declare interface KeylessAuthElementAttributes extends RootElementAttributes {
90
+ }
91
+
92
+ /** @public */
93
+ export declare interface KeylessAuthElementEventMap extends RootElementEventMap {
94
+ }
95
+
96
+ /** @public */
97
+ export declare class KeylessButtonElement extends AracnaButtonElement {
98
+ protected appearanceController: KeylessAppearanceController;
99
+ /**
100
+ * Properties
101
+ */
102
+ /** */
103
+ theme?: Theme;
104
+ protected _themeOptions?: KeylessThemeOptions;
105
+ render(): TemplateResult<1>;
106
+ get slug(): any;
107
+ get themeOptions(): KeylessThemeOptions | undefined;
108
+ set themeOptions(options: KeylessThemeOptions | undefined);
109
+ static deps: KeylessDependencyDeclarations;
110
+ static properties: PropertyDeclarations;
111
+ static styles: CSSResultGroup;
112
+ }
113
+
114
+ /** @public */
115
+ export declare interface KeylessButtonElementAttributes extends AracnaBaseElementAttributes {
116
+ theme?: Theme;
117
+ 'theme-options'?: KeylessThemeOptions;
118
+ }
119
+
120
+ /** @public */
121
+ export declare interface KeylessButtonElementEventMap extends AracnaButtonElementEventMap {
122
+ }
123
+
124
+ /** @public */
125
+ export declare class KeylessCameraBiometricElement extends KeylessCameraElement {
126
+ connectedCallback(): void;
127
+ disconnectedCallback(): void;
128
+ get slug(): any;
129
+ }
130
+
131
+ /** @public */
132
+ export declare interface KeylessCameraBiometricElementAttributes extends KeylessCameraElementAttributes {
133
+ }
134
+
135
+ /** @public */
136
+ export declare interface KeylessCameraBiometricElementEventMap extends KeylessCameraElementEventMap {
137
+ }
138
+
139
+ /** @public */
140
+ export declare class KeylessCameraCornersElement extends AracnaBaseElement {
141
+ appearanceController: KeylessAppearanceController;
142
+ /**
143
+ * Properties
144
+ */
145
+ /** */
146
+ disableAnimation?: boolean;
147
+ hasFrameResults?: boolean;
148
+ hasTriggeredBiometricFilters?: boolean;
149
+ theme?: Theme;
150
+ protected _themeOptions?: KeylessThemeOptions;
151
+ /**
152
+ * State
153
+ */
154
+ /** */
155
+ cornerSize: number;
156
+ /**
157
+ * Internal
158
+ */
159
+ /** */
160
+ protected animationControls?: AnimationPlaybackControlsWithThen;
161
+ constructor();
162
+ connectedCallback(): void;
163
+ attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
164
+ handleAnimation(): void;
165
+ render(): TemplateResult<1>;
166
+ get corners(): string[];
167
+ get slug(): any;
168
+ get styleHTML(): TemplateResult;
169
+ get themeOptions(): KeylessThemeOptions | undefined;
170
+ set themeOptions(options: KeylessThemeOptions | undefined);
171
+ get hasFrameResultsWithEmptyFilters(): boolean;
172
+ get isAnimatable(): boolean;
173
+ static properties: PropertyDeclarations;
174
+ static styles: CSSResultGroup;
175
+ }
176
+
177
+ /** @public */
178
+ export declare interface KeylessCameraCornersElementAttributes extends AracnaBaseElementAttributes {
179
+ 'disable-animation'?: boolean;
180
+ 'has-frame-results'?: boolean;
181
+ 'has-triggered-biometric-filters'?: any[];
182
+ theme?: Theme;
183
+ 'theme-options'?: KeylessThemeOptions;
184
+ }
185
+
186
+ /** @public */
187
+ export declare interface KeylessCameraCornersElementEventMap extends AracnaBaseElementEventMap {
188
+ }
189
+
190
+ /** @public */
191
+ export declare class KeylessCameraElement extends AracnaBaseElement {
192
+ appearanceController: KeylessAppearanceController;
193
+ loggerController: KeylessLoggerController;
194
+ /**
195
+ * Properties
196
+ */
197
+ /** */
198
+ protected _aspectRatio?: number | string;
199
+ disableLogger?: boolean;
200
+ enableFlash?: boolean;
201
+ loggerLevel?: LoggerLevel;
202
+ scale?: number;
203
+ theme?: Theme;
204
+ protected _themeOptions?: KeylessThemeOptions;
205
+ constructor();
206
+ render(): TemplateResult;
207
+ get aspectRatio(): number | string | undefined;
208
+ set aspectRatio(aspectRatio: number | string);
209
+ get slug(): any;
210
+ get styleHTML(): TemplateResult;
211
+ get themeOptions(): KeylessThemeOptions | undefined;
212
+ set themeOptions(options: KeylessThemeOptions | undefined);
213
+ static properties: PropertyDeclarations;
214
+ static queries: QueryDeclarations;
215
+ static styles: CSSResultGroup;
216
+ }
217
+
218
+ /** @public */
219
+ export declare interface KeylessCameraElementAttributes extends AracnaBaseElementAttributes {
220
+ 'aspect-ratio'?: number | string;
221
+ 'disable-logger'?: boolean;
222
+ 'enable-flash'?: boolean;
223
+ 'logger-level'?: LoggerLevel;
224
+ scale?: number;
225
+ theme?: Theme;
226
+ 'theme-options'?: KeylessThemeOptions;
227
+ }
228
+
229
+ /** @public */
230
+ export declare interface KeylessCameraElementEventMap extends AracnaBaseElementEventMap {
231
+ 'camera-play': KeylessCameraPlayEvent;
232
+ }
233
+
234
+ /** @public */
235
+ export declare interface KeylessCameraFlashOverlayElementEventMap extends AracnaBaseElementEventMap {
236
+ }
237
+
238
+ /** @public */
239
+ export declare interface KeylessCameraInstruction {
240
+ icon: string;
241
+ text: string;
242
+ }
243
+
244
+ /** @public */
245
+ export declare class KeylessCameraInstructionsElement extends AracnaBaseElement {
246
+ appearanceController: KeylessAppearanceController;
247
+ localizationController: KeylessLocalizationController;
248
+ /**
249
+ * Properties
250
+ */
251
+ /** */
252
+ enableIcons: boolean;
253
+ items: KeylessCameraInstruction[];
254
+ localizationPacks?: LocalizationPack[];
255
+ localizationVariables?: LocalizationVariables;
256
+ theme?: Theme;
257
+ protected _themeOptions?: KeylessThemeOptions;
258
+ constructor();
259
+ render(): TemplateResult<1>;
260
+ get slug(): any;
261
+ get themeOptions(): KeylessThemeOptions | undefined;
262
+ set themeOptions(options: KeylessThemeOptions | undefined);
263
+ static deps: KeylessDependencyDeclarations;
264
+ static properties: PropertyDeclarations;
265
+ static styles: CSSResultGroup;
266
+ }
267
+
268
+ /** @public */
269
+ export declare interface KeylessCameraInstructionsElementAttributes extends AracnaBaseElementAttributes {
270
+ 'enable-icons'?: boolean;
271
+ lang?: string;
272
+ 'localization-packs'?: LocalizationPack[];
273
+ 'localization-variables'?: LocalizationVariables;
274
+ theme?: Theme;
275
+ 'theme-options'?: KeylessThemeOptions;
276
+ }
277
+
278
+ /** @public */
279
+ export declare interface KeylessCameraInstructionsElementEventMap extends AracnaBaseElementEventMap {
280
+ }
281
+
282
+ /** @public */
283
+ export declare class KeylessCameraPauseEvent extends CustomEvent<{}> {
284
+ constructor();
285
+ }
286
+
287
+ /** @public */
288
+ export declare class KeylessCameraPlayEvent extends CustomEvent<{}> {
289
+ constructor();
290
+ }
291
+
292
+ /** @public */
293
+ export declare class KeylessCameraSelectElement extends AracnaBaseElement {
294
+ appearanceController: KeylessAppearanceController;
295
+ localizationController: KeylessLocalizationController;
296
+ loggerController: KeylessLoggerController;
297
+ /**
298
+ * Properties
299
+ */
300
+ /** */
301
+ disableLogger?: boolean;
302
+ expanded?: boolean;
303
+ localizationPacks?: LocalizationPack[];
304
+ localizationVariables?: LocalizationVariables;
305
+ loggerLevel?: LoggerLevel;
306
+ theme?: Theme;
307
+ protected _themeOptions?: KeylessThemeOptions;
308
+ /**
309
+ * State
310
+ */
311
+ /** */
312
+ protected defaultDeviceID?: string;
313
+ protected deviceLabel?: string;
314
+ protected devices: KeylessMediaDevice[];
315
+ /**
316
+ * Queries
317
+ */
318
+ /** */
319
+ protected selectButton: AracnaSelectButtonElement<AracnaSelectButtonElementEventMap>;
320
+ protected selectOptions: AracnaSelectOptionElement[];
321
+ constructor();
322
+ connectedCallback(): void;
323
+ onSelectChange: (event: FormControlChangeEvent<string>) => void;
324
+ isDeviceActive(device: KeylessMediaDevice): boolean;
325
+ render(): TemplateResult<1> | typeof nothing;
326
+ get slug(): any;
327
+ get styleHTML(): TemplateResult;
328
+ get themeOptions(): KeylessThemeOptions | undefined;
329
+ set themeOptions(options: KeylessThemeOptions | undefined);
330
+ get ua(): IResult;
331
+ static deps: KeylessDependencyDeclarations;
332
+ static properties: PropertyDeclarations;
333
+ static queries: QueryDeclarations;
334
+ static styles: CSSResultGroup;
335
+ }
336
+
337
+ /** @public */
338
+ export declare interface KeylessCameraSelectElementAttributes extends AracnaBaseElementAttributes {
339
+ 'disable-logger'?: boolean;
340
+ expanded?: boolean;
341
+ lang?: string;
342
+ 'localization-packs'?: LocalizationPack[];
343
+ 'localization-variables'?: LocalizationVariables;
344
+ 'logger-level'?: LoggerLevel;
345
+ theme?: Theme;
346
+ 'theme-options'?: KeylessThemeOptions;
347
+ }
348
+
349
+ /** @public */
350
+ export declare interface KeylessCameraSelectElementEventMap extends KeylessCameraElementEventMap {
351
+ 'device-change': KeylessDeviceChangeEvent;
352
+ }
353
+
354
+ /** @public */
355
+ export declare class KeylessCameraTipElement extends AracnaBaseElement {
356
+ appearanceController: KeylessAppearanceController;
357
+ localizationController: KeylessLocalizationController;
358
+ /**
359
+ * Properties
360
+ */
361
+ /** */
362
+ filters: KeylessVideoFrameQualityFilter[];
363
+ state: KeylessCameraTipState;
364
+ theme?: Theme;
365
+ protected _themeOptions?: KeylessThemeOptions;
366
+ constructor();
367
+ render(): TemplateResult<1> | typeof nothing;
368
+ get textPath(): string | undefined;
369
+ get styleHTML(): TemplateResult;
370
+ get themeOptions(): KeylessThemeOptions | undefined;
371
+ set themeOptions(options: KeylessThemeOptions | undefined);
372
+ static properties: PropertyDeclarations;
373
+ static styles: CSSResultGroup;
374
+ }
375
+
376
+ /** @public */
377
+ export declare type KeylessCameraTipState = 'boot' | 'stream';
378
+
379
+ /** @public */
380
+ export declare class KeylessCompleteEvent extends CustomEvent<{}> {
381
+ constructor();
382
+ }
383
+
384
+ /** @public */
385
+ export declare enum KeylessComponentsErrorCode {
386
+ SLUG_UNSUPPORTED = "SLUG_UNSUPPORTED",
387
+ QUEUE_UNSET = "QUEUE_UNSET",
388
+ SYMBOL_UNSET = "SYMBOL_UNSET"
389
+ }
390
+
391
+ /** @public */
392
+ export declare type KeylessComponentsStep = 'bootstrap' | 'done' | 'error' | 'camera-permission' | 'camera-selection' | 'camera-instructions' | 'camera-stream-boot' | 'camera-stream' | 'server-computation' | 'stm-choice' | 'stm-qrcode';
393
+
394
+ /** @public */
395
+ export declare type KeylessDependencyDeclarations = (typeof HTMLElement)[];
396
+
397
+ /** @public */
398
+ export declare class KeylessDeviceChangeEvent extends CustomEvent<KeylessDeviceChangeEventDetail> {
399
+ constructor(label?: string);
400
+ }
401
+
402
+ /** @public */
403
+ export declare interface KeylessDeviceChangeEventDetail {
404
+ label?: string;
405
+ }
406
+
407
+ /** @public */
408
+ export declare class KeylessDialogElement extends AracnaDialogElement {
409
+ appearanceController: KeylessAppearanceController;
410
+ /**
411
+ * Properties
412
+ */
413
+ /** */
414
+ theme?: Theme;
415
+ protected _themeOptions?: KeylessThemeOptions;
416
+ /**
417
+ * Queries
418
+ */
419
+ /** */
420
+ authElement?: RootElement;
421
+ enrollElement?: RootElement;
422
+ connectedCallback(): void;
423
+ disconnectedCallback(): void;
424
+ protected onClose(): void;
425
+ render(): TemplateResult<1>;
426
+ get styleHTML(): TemplateResult;
427
+ get themeOptions(): KeylessThemeOptions | undefined;
428
+ set themeOptions(options: KeylessThemeOptions | undefined);
429
+ static properties: PropertyDeclarations;
430
+ static queries: QueryDeclarations;
431
+ static styles: CSSResultGroup;
432
+ }
433
+
434
+ /** @public */
435
+ export declare interface KeylessDialogElementAttributes extends AracnaDialogElementAttributes {
436
+ theme?: Theme;
437
+ 'theme-options'?: KeylessThemeOptions;
438
+ }
439
+
440
+ /** @public */
441
+ export declare interface KeylessDialogElementEventMap extends AracnaDialogElementEventMap {
442
+ }
443
+
444
+ /** @public */
445
+ export declare enum KeylessElementSlug {
446
+ AUTH = "auth",
447
+ AUTH_DIALOG = "auth-dialog",
448
+ BUTTON = "button",
449
+ CAMERA = "camera",
450
+ CAMERA_BIOMETRIC = "camera-biometric",
451
+ CAMERA_FLASH_OVERLAY = "camera-flash-overlay",
452
+ CAMERA_CORNERS = "camera-corners",
453
+ CAMERA_INSTRUCTIONS = "camera-instructions",
454
+ CAMERA_SELECT = "camera-select",
455
+ ENROLL = "enroll",
456
+ ENROLL_DIALOG = "enroll-dialog",
457
+ FACE_SCAN = "face-scan",
458
+ POWERED_BY = "powered-by",
459
+ ROOT = "root",
460
+ SHADED_ICON = "shaded-icon",
461
+ SHADED_ICON_DONE = "shaded-icon-done",
462
+ SHADED_ICON_ERROR = "shaded-icon-error",
463
+ SPINNER = "spinner",
464
+ TEXT = "text"
465
+ }
466
+
467
+ /** @public */
468
+ export declare class KeylessEnrollElement extends RootElement {
469
+ get slug(): KeylessElementSlug;
470
+ }
471
+
472
+ /** @public */
473
+ export declare interface KeylessEnrollElementAttributes extends RootElementAttributes {
474
+ }
475
+
476
+ /** @public */
477
+ export declare interface KeylessEnrollElementEventMap extends RootElementEventMap {
478
+ }
479
+
480
+ /** @public */
481
+ export declare class KeylessFaceScanElement extends AracnaBaseElement {
482
+ appearanceController: KeylessAppearanceController;
483
+ /**
484
+ * Properties
485
+ */
486
+ /** */
487
+ theme?: Theme;
488
+ protected _themeOptions?: KeylessThemeOptions;
489
+ /**
490
+ * Queries
491
+ */
492
+ /** */
493
+ innerLinesElement: AracnaIconElement;
494
+ innerLinesYellowElement: AracnaIconElement;
495
+ outerLinesElement: AracnaIconElement;
496
+ scannerElement: HTMLDivElement;
497
+ scannerGradientBottomElement: HTMLDivElement;
498
+ scannerGradientTopElement: HTMLDivElement;
499
+ connectedCallback(): void;
500
+ handleAnimation(): void;
501
+ render(): TemplateResult<1>;
502
+ get innerLinesSize(): number;
503
+ get innerLinesGroupSize(): number;
504
+ get outerLinesSize(): number;
505
+ get slug(): any;
506
+ get styleHTML(): TemplateResult;
507
+ get themeOptions(): KeylessThemeOptions | undefined;
508
+ set themeOptions(options: KeylessThemeOptions | undefined);
509
+ static deps: KeylessDependencyDeclarations;
510
+ static properties: PropertyDeclarations;
511
+ static queries: QueryDeclarations;
512
+ static styles: CSSResultGroup;
513
+ }
514
+
515
+ /** @public */
516
+ export declare interface KeylessFaceScanElementAttributes extends AracnaBaseElementAttributes {
517
+ theme?: Theme;
518
+ 'theme-options'?: KeylessThemeOptions;
519
+ }
520
+
521
+ /** @public */
522
+ export declare interface KeylessFaceScanElementEventMap extends AracnaBaseElementEventMap {
523
+ }
524
+
525
+ /** @public */
526
+ export declare class KeylessLocalizationController implements ReactiveController {
527
+ private host;
528
+ constructor(host: ReactiveControllerHost & Element_3);
529
+ hostConnected(): Promise<void>;
530
+ hostUpdate(): void;
531
+ get language(): string;
532
+ }
533
+
534
+ /** @public */
535
+ export declare class KeylessLoggerController implements ReactiveController {
536
+ private host;
537
+ constructor(host: ReactiveControllerHost & Element_4);
538
+ hostConnected(): Promise<void>;
539
+ hostUpdate(): void;
540
+ }
541
+
542
+ /** @public */
543
+ export declare class KeylessNonCancelableEvent extends CustomEvent<{}> {
544
+ constructor();
545
+ }
546
+
547
+ /** @public */
548
+ export declare class KeylessPoweredByElement extends AracnaBaseElement {
549
+ appearanceController: KeylessAppearanceController;
550
+ /**
551
+ * Properties
552
+ */
553
+ /** */
554
+ theme?: Theme;
555
+ protected _themeOptions?: KeylessThemeOptions;
556
+ render(): TemplateResult<1>;
557
+ get slug(): any;
558
+ get styleHTML(): TemplateResult;
559
+ get themeOptions(): KeylessThemeOptions | undefined;
560
+ set themeOptions(options: KeylessThemeOptions | undefined);
561
+ static deps: KeylessDependencyDeclarations;
562
+ static properties: PropertyDeclarations;
563
+ static styles: CSSResultGroup;
564
+ }
565
+
566
+ /** @public */
567
+ export declare interface KeylessPoweredByElementAttributes extends AracnaBaseElementAttributes {
568
+ theme?: Theme;
569
+ 'theme-options'?: KeylessThemeOptions;
570
+ }
571
+
572
+ /** @public */
573
+ export declare interface KeylessPoweredByElementEventMap extends AracnaBaseElementEventMap {
574
+ }
575
+
576
+ /** @public */
577
+ export declare class KeylessQrCodeElement extends AracnaQrCodeElement {
578
+ appearanceController: KeylessAppearanceController;
579
+ /**
580
+ * Properties
581
+ */
582
+ /** */
583
+ theme?: Theme;
584
+ protected _themeOptions?: KeylessThemeOptions;
585
+ render(): TemplateResult<1>;
586
+ get themeOptions(): KeylessThemeOptions | undefined;
587
+ set themeOptions(options: KeylessThemeOptions | undefined);
588
+ static properties: PropertyDeclarations;
589
+ static styles: CSSResultGroup;
590
+ }
591
+
592
+ /** @public */
593
+ export declare interface KeylessQrCodeElementAttributes extends AracnaQrCodeElementAttributes {
594
+ theme?: Theme;
595
+ 'theme-options'?: KeylessThemeOptions;
596
+ }
597
+
598
+ /** @public */
599
+ export declare interface KeylessQrCodeElementEventMap extends AracnaQrCodeElementEventMap {
600
+ }
601
+
602
+ /** @public */
603
+ export declare class KeylessRecognitionFailureEvent extends CustomEvent<KeylessRecognitionFailureEventDetail> {
604
+ constructor(filters: KeylessVideoFrameQualityFilter[], reason: string);
605
+ }
606
+
607
+ /** @public */
608
+ export declare interface KeylessRecognitionFailureEventDetail {
609
+ filters: KeylessVideoFrameQualityFilter[];
610
+ reason: string;
611
+ }
612
+
613
+ /** @public */
614
+ export declare class KeylessRecognitionStartEvent extends CustomEvent<{}> {
615
+ constructor();
616
+ }
617
+
618
+ /** @public */
619
+ export declare class KeylessRecoverableErrorEvent extends ErrorEvent {
620
+ reason?: string;
621
+ constructor(eventInitDict?: ErrorEventInit, reason?: string);
622
+ }
623
+
624
+ /** @public */
625
+ export declare type KeylessSessionSource = 'qrcode' | 'url';
626
+
627
+ /** @public */
628
+ export declare class KeylessShadedIconElement extends AracnaBaseElement {
629
+ protected appearanceController: KeylessAppearanceController;
630
+ /**
631
+ * Properties
632
+ */
633
+ /** */
634
+ theme?: Theme;
635
+ protected _themeOptions?: KeylessThemeOptions;
636
+ variant: KeylessShadedIconVariant;
637
+ render(): TemplateResult<1>;
638
+ get slug(): any;
639
+ get styleHTML(): TemplateResult<1>;
640
+ get themeOptions(): KeylessThemeOptions | undefined;
641
+ set themeOptions(options: KeylessThemeOptions | undefined);
642
+ static deps: KeylessDependencyDeclarations;
643
+ static properties: PropertyDeclarations;
644
+ static styles: CSSResultGroup;
645
+ }
646
+
647
+ /** @public */
648
+ export declare interface KeylessShadedIconElementAttributes extends AracnaBaseElementAttributes {
649
+ theme?: Theme;
650
+ 'theme-options'?: KeylessThemeOptions;
651
+ variant?: KeylessShadedIconVariant;
652
+ }
653
+
654
+ /** @public */
655
+ export declare interface KeylessShadedIconElementEventMap extends AracnaBaseElementEventMap {
656
+ }
657
+
658
+ /** @public */
659
+ export declare type KeylessShadedIconVariant = 'primary' | 'error';
660
+
661
+ /** @public */
662
+ export declare class KeylessSpinnerElement extends AracnaBaseElement {
663
+ protected appearanceController: KeylessAppearanceController;
664
+ /**
665
+ * Properties
666
+ */
667
+ /** */
668
+ theme?: Theme;
669
+ protected _themeOptions?: KeylessThemeOptions;
670
+ get slug(): any;
671
+ get styleHTML(): TemplateResult<1>;
672
+ get themeOptions(): KeylessThemeOptions | undefined;
673
+ set themeOptions(options: KeylessThemeOptions | undefined);
674
+ static properties: PropertyDeclarations;
675
+ static styles: CSSResultGroup;
676
+ }
677
+
678
+ /** @public */
679
+ export declare interface KeylessSpinnerElementAttributes extends AracnaBaseElementAttributes {
680
+ theme?: Theme;
681
+ 'theme-options'?: KeylessThemeOptions;
682
+ }
683
+
684
+ /** @public */
685
+ export declare interface KeylessSpinnerElementEventMap extends AracnaBaseElementEventMap {
686
+ }
687
+
688
+ /** @public */
689
+ export declare class KeylessStepChangeEvent extends CustomEvent<KeylessStepChangeEventDetail> {
690
+ constructor(step: KeylessComponentsStep);
691
+ }
692
+
693
+ /** @public */
694
+ export declare interface KeylessStepChangeEventDetail {
695
+ step: KeylessComponentsStep;
696
+ }
697
+
698
+ /** @public */
699
+ export declare class KeylessStepController implements ReactiveController {
700
+ protected host: ReactiveControllerHost & Element_5;
701
+ constructor(host: ReactiveControllerHost & Element_5);
702
+ hostConnected(): void;
703
+ hostUpdate(): void;
704
+ setAttributes(): void;
705
+ }
706
+
707
+ /** @public */
708
+ export declare class KeylessSuccessEvent extends CustomEvent<KeylessSuccessEventDetail> {
709
+ constructor(jwt?: string, seedEntropy?: string);
710
+ }
711
+
712
+ /** @public */
713
+ export declare interface KeylessSuccessEventDetail {
714
+ jwt?: string;
715
+ seedEntropy?: string;
716
+ source: KeylessSessionSource;
717
+ }
718
+
719
+ /** @public */
720
+ export declare class KeylessTextElement extends AracnaTextElement {
721
+ get slug(): any;
722
+ static styles: CSSResultGroup;
723
+ }
724
+
725
+ /** @public */
726
+ export declare interface KeylessTextElementAttributes extends AracnaTextElementAttributes {
727
+ }
728
+
729
+ /** @public */
730
+ export declare interface KeylessTextElementEventMap extends AracnaTextElementEventMap {
731
+ }
732
+
733
+ /** @public */
734
+ export declare interface KeylessThemeOptions {
735
+ colors: KeylessThemeOptionsColors;
736
+ elements: KeylessThemeOptionsElements;
737
+ }
738
+
739
+ /** @public */
740
+ export declare interface KeylessThemeOptionsColors {
741
+ dark: KeylessThemeOptionsColorsValue;
742
+ light: KeylessThemeOptionsColorsValue;
743
+ }
744
+
745
+ /** @public */
746
+ export declare interface KeylessThemeOptionsColorsValue {
747
+ primary: string;
748
+ onPrimary: string;
749
+ secondary: string;
750
+ onSecondary: string;
751
+ error: string;
752
+ onError: string;
753
+ secondaryContainer: string;
754
+ onSecondaryContainer: string;
755
+ surface: string;
756
+ onSurface: string;
757
+ surfaceVariant: string;
758
+ onSurfaceVariant: string;
759
+ }
760
+
761
+ /** @public */
762
+ export declare interface KeylessThemeOptionsElements {
763
+ button: KeylessThemeOptionsElementsButton;
764
+ camera: KeylessThemeOptionsElementsCamera;
765
+ cameraCorners: KeylessThemeOptionsElementsCameraCorners;
766
+ cameraInstructions: KeylessThemeOptionsElementsCameraInstructions;
767
+ cameraSelect: KeylessThemeOptionsElementsCameraSelect;
768
+ cameraTip: KeylessThemeOptionsElementsCameraTip;
769
+ dialog: KeylessThemeOptionsElementsDialog;
770
+ poweredBy: KeylessThemeOptionsElementsPoweredBy;
771
+ qrcode: KeylessThemeOptionsElementsQrcode;
772
+ root: KeylessThemeOptionsElementsRoot;
773
+ }
774
+
775
+ /** @public */
776
+ export declare interface KeylessThemeOptionsElementsButton {
777
+ host: KeylessThemeOptionsElementsButtonHost;
778
+ size: KeylessThemeOptionsElementsButtonSize;
779
+ variant: KeylessThemeOptionsElementsButtonVariant;
780
+ }
781
+
782
+ /** @public */
783
+ export declare interface KeylessThemeOptionsElementsButtonHost {
784
+ borderRadius: string;
785
+ fontSize: string;
786
+ fontWeight: string;
787
+ padding: string;
788
+ }
789
+
790
+ /** @public */
791
+ export declare interface KeylessThemeOptionsElementsButtonSize {
792
+ small: KeylessThemeOptionsElementsButtonSizeSmall;
793
+ }
794
+
795
+ /** @public */
796
+ export declare interface KeylessThemeOptionsElementsButtonSizeSmall {
797
+ host: KeylessThemeOptionsElementsButtonSizeSmallHost;
798
+ }
799
+
800
+ /** @public */
801
+ export declare interface KeylessThemeOptionsElementsButtonSizeSmallHost {
802
+ fontSize: string;
803
+ padding: string;
804
+ }
805
+
806
+ /** @public */
807
+ export declare interface KeylessThemeOptionsElementsButtonVariant {
808
+ text: KeylessThemeOptionsElementsButtonVariantText;
809
+ }
810
+
811
+ /** @public */
812
+ export declare interface KeylessThemeOptionsElementsButtonVariantText {
813
+ host: KeylessThemeOptionsElementsButtonVariantTextHost;
814
+ }
815
+
816
+ /** @public */
817
+ export declare interface KeylessThemeOptionsElementsButtonVariantTextHost {
818
+ borderBottom: string;
819
+ hover: KeylessThemeOptionsElementsButtonVariantTextHostHover;
820
+ }
821
+
822
+ /** @public */
823
+ export declare interface KeylessThemeOptionsElementsButtonVariantTextHostHover {
824
+ opacity: string;
825
+ }
826
+
827
+ /** @public */
828
+ export declare interface KeylessThemeOptionsElementsCamera {
829
+ host: KeylessThemeOptionsElementsCameraHost;
830
+ }
831
+
832
+ /** @public */
833
+ export declare interface KeylessThemeOptionsElementsCameraCorners {
834
+ svg: KeylessThemeOptionsElementsCameraCornersSvg;
835
+ }
836
+
837
+ /** @public */
838
+ export declare interface KeylessThemeOptionsElementsCameraCornersSvg {
839
+ strokeWidth: string;
840
+ }
841
+
842
+ /** @public */
843
+ export declare interface KeylessThemeOptionsElementsCameraHost {
844
+ after: KeylessThemeOptionsElementsCameraHostAfter;
845
+ before: KeylessThemeOptionsElementsCameraHostBefore;
846
+ }
847
+
848
+ /** @public */
849
+ export declare interface KeylessThemeOptionsElementsCameraHostAfter {
850
+ background: string;
851
+ height: string;
852
+ }
853
+
854
+ /** @public */
855
+ export declare interface KeylessThemeOptionsElementsCameraHostBefore {
856
+ background: string;
857
+ height: string;
858
+ }
859
+
860
+ /** @public */
861
+ export declare interface KeylessThemeOptionsElementsCameraInstructions {
862
+ host: KeylessThemeOptionsElementsCameraInstructionsHost;
863
+ li: KeylessThemeOptionsElementsCameraInstructionsLi;
864
+ liText: KeylessThemeOptionsElementsCameraInstructionsLiText;
865
+ }
866
+
867
+ /** @public */
868
+ export declare interface KeylessThemeOptionsElementsCameraInstructionsHost {
869
+ gap: string;
870
+ }
871
+
872
+ /** @public */
873
+ export declare interface KeylessThemeOptionsElementsCameraInstructionsLi {
874
+ borderRadius: string;
875
+ gap: string;
876
+ padding: string;
877
+ }
878
+
879
+ /** @public */
880
+ export declare interface KeylessThemeOptionsElementsCameraInstructionsLiText {
881
+ fontSize: string;
882
+ }
883
+
884
+ /** @public */
885
+ export declare interface KeylessThemeOptionsElementsCameraSelect {
886
+ labels: KeylessThemeOptionsElementsCameraSelectLabels;
887
+ labelsHeadline: KeylessThemeOptionsElementsCameraSelectLabelsHeadline;
888
+ labelsText: KeylessThemeOptionsElementsCameraSelectLabelsText;
889
+ list: KeylessThemeOptionsElementsCameraSelectList;
890
+ option: KeylessThemeOptionsElementsCameraSelectOption;
891
+ }
892
+
893
+ /** @public */
894
+ export declare interface KeylessThemeOptionsElementsCameraSelectLabels {
895
+ gap: string;
896
+ padding: string;
897
+ }
898
+
899
+ /** @public */
900
+ export declare interface KeylessThemeOptionsElementsCameraSelectLabelsHeadline {
901
+ fontSize: string;
902
+ fontWeight: string;
903
+ }
904
+
905
+ /** @public */
906
+ export declare interface KeylessThemeOptionsElementsCameraSelectLabelsText {
907
+ fontSize: string;
908
+ fontWeight: string;
909
+ }
910
+
911
+ /** @public */
912
+ export declare interface KeylessThemeOptionsElementsCameraSelectList {
913
+ borderRadius: string;
914
+ margin: string;
915
+ padding: string;
916
+ top: string;
917
+ }
918
+
919
+ /** @public */
920
+ export declare interface KeylessThemeOptionsElementsCameraSelectOption {
921
+ borderRadius: string;
922
+ marginTop: string;
923
+ padding: string;
924
+ }
925
+
926
+ /** @public */
927
+ export declare interface KeylessThemeOptionsElementsCameraTip {
928
+ backdropFilter: string;
929
+ borderRadius: string;
930
+ fontSize: string;
931
+ fontWeight: string;
932
+ height: string;
933
+ padding: string;
934
+ }
935
+
936
+ /** @public */
937
+ export declare interface KeylessThemeOptionsElementsDialog {
938
+ host: KeylessThemeOptionsElementsDialogHost;
939
+ }
940
+
941
+ /** @public */
942
+ export declare interface KeylessThemeOptionsElementsDialogHost {
943
+ border: string;
944
+ borderRadius: string;
945
+ boxShadow: string;
946
+ }
947
+
948
+ /** @public */
949
+ export declare interface KeylessThemeOptionsElementsFaceScanCorners {
950
+ strokeWidth: string;
951
+ }
952
+
953
+ /** @public */
954
+ export declare interface KeylessThemeOptionsElementsFaceScanHost {
955
+ borderRadius?: string;
956
+ }
957
+
958
+ /** @public */
959
+ export declare interface KeylessThemeOptionsElementsFaceScanScanLine {
960
+ height: string;
961
+ animationDuration?: string;
962
+ }
963
+
964
+ /** @public */
965
+ export declare interface KeylessThemeOptionsElementsFaceScanTransitions {
966
+ borderFade?: string;
967
+ wireframeFade?: string;
968
+ }
969
+
970
+ /** @public */
971
+ export declare interface KeylessThemeOptionsElementsFaceScanWireframe {
972
+ opacity: string;
973
+ animationDuration?: string;
974
+ }
975
+
976
+ /** @public */
977
+ export declare interface KeylessThemeOptionsElementsPoweredBy {
978
+ host: KeylessThemeOptionsElementsPoweredByHost;
979
+ icon: KeylessThemeOptionsElementsPoweredByIcon;
980
+ span: KeylessThemeOptionsElementsPoweredBySpan;
981
+ }
982
+
983
+ /** @public */
984
+ export declare interface KeylessThemeOptionsElementsPoweredByHost {
985
+ gap: string;
986
+ height: string;
987
+ }
988
+
989
+ /** @public */
990
+ export declare interface KeylessThemeOptionsElementsPoweredByIcon {
991
+ height: string;
992
+ width: string;
993
+ }
994
+
995
+ /** @public */
996
+ export declare interface KeylessThemeOptionsElementsPoweredBySpan {
997
+ fontSize: string;
998
+ fontWeight: string;
999
+ letterSpacing: string;
1000
+ }
1001
+
1002
+ /** @public */
1003
+ export declare interface KeylessThemeOptionsElementsQrcode {
1004
+ host: KeylessThemeOptionsElementsQrcodeHost;
1005
+ }
1006
+
1007
+ /** @public */
1008
+ export declare interface KeylessThemeOptionsElementsQrcodeHost {
1009
+ borderRadius: string;
1010
+ padding: string;
1011
+ }
1012
+
1013
+ /** @public */
1014
+ export declare interface KeylessThemeOptionsElementsRoot {
1015
+ buttonCameraSelect: KeylessThemeOptionsElementsRootButtonCameraSelect;
1016
+ buttonCancel: KeylessThemeOptionsElementsRootButtonCancel;
1017
+ buttonClose: KeylessThemeOptionsElementsRootButtonClose;
1018
+ buttonFlash: KeylessThemeOptionsElementsRootButtonFlash;
1019
+ buttonPin: KeylessThemeOptionsElementsRootButtonPin;
1020
+ buttonsSwitchToMobileChoice: KeylessThemeOptionsElementsRootButtonsSwitchToMobileChoice;
1021
+ cameraBiometric: KeylessThemeOptionsElementsRootCameraBiometric;
1022
+ cameraTip: KeylessThemeOptionsElementsRootCameraTip;
1023
+ headline: KeylessThemeOptionsElementsRootHeadline;
1024
+ host: KeylessThemeOptionsElementsRootHost;
1025
+ poweredBy: KeylessThemeOptionsElementsRootPoweredBy;
1026
+ text: KeylessThemeOptionsElementsRootText;
1027
+ texts: KeylessThemeOptionsElementsRootTexts;
1028
+ }
1029
+
1030
+ /** @public */
1031
+ export declare interface KeylessThemeOptionsElementsRootButtonCameraSelect {
1032
+ right: string;
1033
+ top: string;
1034
+ }
1035
+
1036
+ /** @public */
1037
+ export declare interface KeylessThemeOptionsElementsRootButtonCancel {
1038
+ left: string;
1039
+ top: string;
1040
+ }
1041
+
1042
+ /** @public */
1043
+ export declare interface KeylessThemeOptionsElementsRootButtonClose {
1044
+ left: string;
1045
+ top: string;
1046
+ }
1047
+
1048
+ /** @public */
1049
+ export declare interface KeylessThemeOptionsElementsRootButtonFlash {
1050
+ right: string;
1051
+ top: string;
1052
+ }
1053
+
1054
+ /** @public */
1055
+ export declare interface KeylessThemeOptionsElementsRootButtonPin {
1056
+ height: string;
1057
+ width: string;
1058
+ }
1059
+
1060
+ /** @public */
1061
+ export declare interface KeylessThemeOptionsElementsRootButtonsSwitchToMobileChoice {
1062
+ gap: string;
1063
+ }
1064
+
1065
+ /** @public */
1066
+ export declare interface KeylessThemeOptionsElementsRootCameraBiometric {
1067
+ width: string;
1068
+ }
1069
+
1070
+ /** @public */
1071
+ export declare interface KeylessThemeOptionsElementsRootCameraTip {
1072
+ top: string;
1073
+ }
1074
+
1075
+ /** @public */
1076
+ export declare interface KeylessThemeOptionsElementsRootHeadline {
1077
+ fontSize: string;
1078
+ fontWeight: string;
1079
+ marginTop: string;
1080
+ }
1081
+
1082
+ /** @public */
1083
+ export declare interface KeylessThemeOptionsElementsRootHost {
1084
+ borderRadius: string;
1085
+ gap: string;
1086
+ padding: string;
1087
+ }
1088
+
1089
+ /** @public */
1090
+ export declare interface KeylessThemeOptionsElementsRootPoweredBy {
1091
+ bottom: string;
1092
+ }
1093
+
1094
+ /** @public */
1095
+ export declare interface KeylessThemeOptionsElementsRootText {
1096
+ fontSize: string;
1097
+ fontWeight: string;
1098
+ }
1099
+
1100
+ /** @public */
1101
+ export declare interface KeylessThemeOptionsElementsRootTexts {
1102
+ gap: string;
1103
+ }
1104
+
1105
+ /** @public */
1106
+ export declare class KeylessVideoFrameQualityEvent extends CustomEvent<KeylessVideoFrameQualityEventDetail> {
1107
+ constructor(filters: KeylessVideoFrameQualityFilter[], source: KeylessVideoFrameQualitySource, timestamp: number);
1108
+ }
1109
+
1110
+ /** @public */
1111
+ export declare interface KeylessVideoFrameQualityEventDetail {
1112
+ filters: KeylessVideoFrameQualityFilter[];
1113
+ source: KeylessVideoFrameQualitySource;
1114
+ timestamp: Date;
1115
+ }
1116
+
1117
+ /** @internal */
1118
+ declare class RootElement extends AracnaBaseElement<RootElementEventMap> {
1119
+ appearanceController: KeylessAppearanceController;
1120
+ localizationController: KeylessLocalizationController;
1121
+ loggerController: KeylessLoggerController;
1122
+ stepController: KeylessStepController;
1123
+ /**
1124
+ * Properties
1125
+ */
1126
+ /** */
1127
+ aspectRatio?: number | string;
1128
+ authorizationToken?: string;
1129
+ cameraAspectRatio?: number | string;
1130
+ cameraInstructions?: KeylessCameraInstruction[];
1131
+ customer: string;
1132
+ datadogEnv?: string;
1133
+ datadogToken?: string;
1134
+ disableDatadog?: boolean;
1135
+ disableLogger?: boolean;
1136
+ disablePoweredBy?: boolean;
1137
+ disableSteps?: KeylessComponentsStep[];
1138
+ enableCameraFlash?: boolean;
1139
+ enableCameraInstructions?: boolean;
1140
+ enableCameraInstructionsIcons?: boolean;
1141
+ enableCloseButton?: boolean;
1142
+ enableDatadogPII?: boolean;
1143
+ enableSwitchToMobile?: boolean;
1144
+ enableWasmPthreads?: boolean;
1145
+ localizationPacks?: LocalizationPack[];
1146
+ localizationVariables?: LocalizationVariables;
1147
+ loggerLevel?: LoggerLevel;
1148
+ operationID?: string;
1149
+ seedEntropy?: boolean;
1150
+ serviceURL: string;
1151
+ switchToMobileBaseURL?: string;
1152
+ protected _theme?: Theme;
1153
+ protected _themeOptions?: KeylessThemeOptions;
1154
+ protected _transactionData?: string;
1155
+ protected _username: string;
1156
+ wasmBinaryURL?: string;
1157
+ wasmDataURL?: string;
1158
+ wasmScriptURL?: string;
1159
+ /**
1160
+ * State
1161
+ */
1162
+ /** */
1163
+ cancelable: boolean;
1164
+ error?: Error;
1165
+ hasMultipleVideoMediaDevices: boolean;
1166
+ recoverable: boolean;
1167
+ protected _step: KeylessComponentsStep;
1168
+ switchToMobileUrlCopied: boolean;
1169
+ videoFrameQuality?: KeylessVideoFrameQuality;
1170
+ constructor();
1171
+ attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
1172
+ connectedCallback(): void;
1173
+ disconnectedCallback(): void;
1174
+ dispose(): Promise<void | Error>;
1175
+ render(): TemplateResult<1>;
1176
+ get numericSize(): number;
1177
+ get slug(): KeylessElementSlug;
1178
+ get step(): KeylessComponentsStep;
1179
+ set step(value: KeylessComponentsStep);
1180
+ get theme(): Theme | undefined;
1181
+ set theme(value: Theme | undefined);
1182
+ get themeOptions(): KeylessThemeOptions | undefined;
1183
+ set themeOptions(options: KeylessThemeOptions | undefined);
1184
+ get transactionData(): string | undefined;
1185
+ set transactionData(value: string | undefined);
1186
+ get username(): string;
1187
+ set username(value: string);
1188
+ get version(): string;
1189
+ static deps: KeylessDependencyDeclarations;
1190
+ static properties: PropertyDeclarations;
1191
+ static styles: CSSResultGroup;
1192
+ }
1193
+
1194
+ /** @internal */
1195
+ declare interface RootElementAttributes extends AracnaBaseElementAttributes {
1196
+ 'aspect-ratio'?: number | string;
1197
+ 'authorization-token'?: string;
1198
+ 'camera-aspect-ratio'?: number | string;
1199
+ customer: string;
1200
+ 'datadog-env'?: string;
1201
+ 'datadog-token'?: string;
1202
+ 'disable-datadog'?: boolean;
1203
+ 'disable-logger'?: boolean;
1204
+ 'disable-powered-by'?: boolean;
1205
+ 'disable-steps'?: KeylessComponentsStep[];
1206
+ 'enable-camera-flash'?: boolean;
1207
+ 'enable-camera-instructions'?: boolean;
1208
+ 'enable-camera-instructions-icons'?: boolean;
1209
+ 'enable-close-button'?: boolean;
1210
+ 'enable-datadog-pii'?: boolean;
1211
+ 'enable-switch-to-mobile'?: boolean;
1212
+ 'enable-wasm-pthreads'?: boolean;
1213
+ lang?: string;
1214
+ 'localization-packs'?: LocalizationPack[];
1215
+ 'localization-variables'?: LocalizationVariables;
1216
+ 'logger-level'?: LoggerLevel;
1217
+ 'operation-id'?: string;
1218
+ 'seed-entropy'?: boolean;
1219
+ 'service-url': string;
1220
+ 'switch-to-mobile-base-url'?: string;
1221
+ theme?: Theme;
1222
+ 'theme-options'?: KeylessThemeOptions;
1223
+ 'transaction-data'?: string;
1224
+ username: string;
1225
+ 'wasm-binary-url'?: string;
1226
+ 'wasm-data-url'?: string;
1227
+ 'wasm-script-url'?: string;
1228
+ }
1229
+
1230
+ /** @internal */
1231
+ declare interface RootElementEventMap extends AracnaBaseElementEventMap {
1232
+ close: Event;
1233
+ error: _;
1234
+ 'non-cancelable': KeylessNonCancelableEvent;
1235
+ 'recognition-failure': KeylessRecognitionFailureEvent;
1236
+ 'recognition-start': KeylessRecognitionStartEvent;
1237
+ 'recoverable-error': KeylessRecoverableErrorEvent;
1238
+ 'step-change': KeylessStepChangeEvent;
1239
+ success: KeylessSuccessEvent;
1240
+ 'video-frame-quality': KeylessVideoFrameQualityEvent;
1241
+ }
1242
+
1243
+ /** @public */
1244
+ export declare function setKeylessCreateMediaStreamArgs(element: RootElement, args: CreateKeylessMediaStreamArgs): void | Error;
1245
+
1246
+ export { setKeylessGetVideoMediaDevicesArgs }
1247
+
1248
+ export { }