@sekyro/react 0.1.0-rc.3 → 0.1.0-rc.31

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 (63) hide show
  1. package/CHANGELOG.md +578 -0
  2. package/LICENSE +25 -16
  3. package/README.md +189 -39
  4. package/dist/chunk-2KED7D2Q.js +2 -0
  5. package/dist/chunk-55NNQK5P.js +2 -0
  6. package/dist/chunk-7MMT5M4E.js +2 -0
  7. package/dist/chunk-AZF7USGM.js +2 -0
  8. package/dist/chunk-DYWLZHSM.js +2 -0
  9. package/dist/chunk-FE6AS435.js +2 -0
  10. package/dist/chunk-GUTF3SPK.js +2 -0
  11. package/dist/chunk-JEOESSNW.js +2 -0
  12. package/dist/chunk-K5H7KWEY.js +2 -0
  13. package/dist/chunk-M7JKVIGW.js +2 -0
  14. package/dist/chunk-MBLJZVNN.js +2 -0
  15. package/dist/chunk-OHNOGFT2.js +2 -0
  16. package/dist/chunk-PMNUDJWG.js +2 -0
  17. package/dist/chunk-Q5BGUJMS.js +2 -0
  18. package/dist/chunk-QD66CL7R.js +2 -0
  19. package/dist/chunk-RGI6OVB2.js +2 -0
  20. package/dist/chunk-VNVE5DMF.js +2 -0
  21. package/dist/chunk-VRDPGOXM.js +2 -0
  22. package/dist/chunk-WC4U54LZ.js +2 -0
  23. package/dist/chunk-ZARKJW2C.js +2 -0
  24. package/dist/document-capture-view-GENB535Z.js +2 -0
  25. package/dist/eid-view-IQRZGEMP.js +2 -0
  26. package/dist/email-otp-view-CL76K5TY.js +2 -0
  27. package/dist/flow-views-C3EIMXME.js +2 -0
  28. package/dist/fonts/Cairo-OFL.txt +93 -0
  29. package/dist/fonts/Geist-OFL.txt +93 -0
  30. package/dist/fonts/Inter-OFL.txt +93 -0
  31. package/dist/fonts/SekyroCairo-Bold.woff2 +0 -0
  32. package/dist/fonts/SekyroCairo-Regular.woff2 +0 -0
  33. package/dist/fonts/SekyroCairo-SemiBold.woff2 +0 -0
  34. package/dist/fonts/SekyroGeist-Bold.woff2 +0 -0
  35. package/dist/fonts/SekyroGeist-SemiBold.woff2 +0 -0
  36. package/dist/fonts/SekyroInter-Medium.woff2 +0 -0
  37. package/dist/fonts/SekyroInter-Regular.woff2 +0 -0
  38. package/dist/fonts/SekyroInter-SemiBold.woff2 +0 -0
  39. package/dist/form-view-MEYCK437.js +2 -0
  40. package/dist/index.cjs +1 -2
  41. package/dist/index.d.cts +7 -380
  42. package/dist/index.d.ts +7 -380
  43. package/dist/index.js +1 -2
  44. package/dist/overlay-de-LOQWEHOH.js +2 -0
  45. package/dist/overlay-es-F54CKFZO.js +2 -0
  46. package/dist/overlay-pt-NHIQY3JB.js +2 -0
  47. package/dist/portrait-capture-view-VTN2VU3E.js +2 -0
  48. package/dist/portrait-review-view-JTRGDYNV.js +2 -0
  49. package/dist/proof-of-address-view-UQOZZXQO.js +2 -0
  50. package/dist/styles.css +35 -11
  51. package/dist/theme-BASMEql8.d.cts +548 -0
  52. package/dist/theme-BASMEql8.d.ts +548 -0
  53. package/dist/verification/index.cjs +2 -0
  54. package/dist/verification/index.d.cts +871 -0
  55. package/dist/verification/index.d.ts +871 -0
  56. package/dist/verification/index.js +2 -0
  57. package/dist/verification.css +848 -0
  58. package/package.json +27 -16
  59. package/sbom.cdx.json +153 -0
  60. package/assets/audio/v1/README.md +0 -60
  61. package/assets/audio/v1/manifest.json +0 -7
  62. package/dist/index.cjs.map +0 -1
  63. package/dist/index.js.map +0 -1
@@ -0,0 +1,871 @@
1
+ import { a as SekyroLocale, S as Strings, g as SekyroTheme, q as VoiceOptions, d as LivenessCaptureProps } from '../theme-BASMEql8.js';
2
+ export { k as StringKey, A as retakeHintStringKey } from '../theme-BASMEql8.js';
3
+ import * as react from 'react';
4
+ import { ReactNode } from 'react';
5
+ import { Verification, VerificationStep, PhoneOtpStepHandle, EmailOtpStepHandle, EidStepHandle, MethodStepHandle, RegistryStepHandle, DocumentStepHandle, DocumentLiveMrzOptions, PortraitStepHandle, ProofOfAddressStepHandle, FormStepHandle, VerificationResult, ResultStepHandle, CapturedArtifacts } from '@sekyro/web';
6
+
7
+ /** Copy of the `@sekyro/react/verification` steps (hosted catalog paths; the optional keys load with their step). */
8
+ interface StepStrings {
9
+ "session.title": string;
10
+ "session.requestedBy": string;
11
+ "returning.requestedBy": string;
12
+ "consent.notice": string;
13
+ "consent.details": string;
14
+ "consent.terms.intro": string;
15
+ "consent.terms.data": string;
16
+ "consent.terms.processing": string;
17
+ "consent.terms.sharing": string;
18
+ "consent.terms.retention": string;
19
+ "capture.modeSwitch.toSelfPhoto": string;
20
+ "capture.modeSwitch.toAssistedLabelPhoto": string;
21
+ "capture.modeSwitch.toSelfLabelPhoto": string;
22
+ "reasons.camera_unavailable": string;
23
+ "otp.sendTitle": string;
24
+ "otp.sendDescription": string;
25
+ "otp.prefilledNotice": string;
26
+ "otp.phoneLabel": string;
27
+ "otp.phoneHelper": string;
28
+ "otp.phonePlaceholder": string;
29
+ "otp.send": string;
30
+ "otp.channelSms": string;
31
+ "otp.channelWhatsapp": string;
32
+ "otp.verifyTitle": string;
33
+ "otp.verifyDescription": string;
34
+ "otp.sentTo": string;
35
+ "otp.codeLabel": string;
36
+ "otp.codeHelper": string;
37
+ "otp.verify": string;
38
+ "otp.resend": string;
39
+ "otp.resendIn": string;
40
+ "otp.expiresIn": string;
41
+ "otp.expired": string;
42
+ "otp.reason_otp_mismatch": string;
43
+ "otp.reason_otp_expired": string;
44
+ "otp.reason_otp_send_failed": string;
45
+ "otp.chooseChannel": string;
46
+ "otp.sendBy": string;
47
+ "otp.resendBy": string;
48
+ "otp.sending": string;
49
+ "otp.reason_otp_channel_unavailable": string;
50
+ "otp.reason_otp_destination_not_allowed": string;
51
+ "otp.reason_otp_destination_unknown": string;
52
+ "otp.reason_otp_rate_limited": string;
53
+ "otp.reason_otp_daily_cap_reached": string;
54
+ "otp.reason_payment_method_required": string;
55
+ "otp.reason_spend_cap_reached": string;
56
+ "otp.reason_insufficient_balance": string;
57
+ "otp.phonePlaceholderGeneric": string;
58
+ "otp.countryLabel": string;
59
+ "otp.phoneLengthError": string;
60
+ "otp.or": string;
61
+ "otp.otherCountry": string;
62
+ "otp.countrySearch": string;
63
+ "otp.reason_otp_number_invalid": string;
64
+ "otp.reason_otp_number_not_mobile": string;
65
+ "session.steps.population.title": string;
66
+ "session.steps.population.description": string;
67
+ "population.label": string;
68
+ "population.helper": string;
69
+ "population.placeholder": string;
70
+ "population.submit": string;
71
+ "population.invalid": string;
72
+ "population.reason_registry_unavailable": string;
73
+ "population.reason_nni_not_found": string;
74
+ "population.reason_nni_invalid": string;
75
+ "population.bound.description": string;
76
+ "population.bound.confirm": string;
77
+ "population.reason_nni_not_found_or_document": string;
78
+ "population.useDocument": string;
79
+ "population.fromDocument.title": string;
80
+ "population.fromDocument.description": string;
81
+ "population.fromDocument.continue": string;
82
+ "population.reason_id_number_invalid": string;
83
+ "population.reason_registry_record_not_found": string;
84
+ "population.reason_registry_record_not_found_or_document": string;
85
+ "session.steps.doc.titleRecto": string;
86
+ "session.steps.doc.titleVerso": string;
87
+ "session.steps.doc.description": string;
88
+ "doc.pickTitle": string;
89
+ "doc.pickDescription": string;
90
+ "doc.pickLabel": string;
91
+ "doc.startScan": string;
92
+ "doc.titlePassport": string;
93
+ "doc.reason_side_missing": string;
94
+ "doc.reason_unreadable": string;
95
+ "doc.reason_document_type_mismatch": string;
96
+ "doc.reason_document_number_invalid": string;
97
+ "doc.reason_document_sides_mismatch": string;
98
+ "doc.reason_document_type_not_supported": string;
99
+ "doc.reason_provider_unavailable": string;
100
+ "doc.process_failed": string;
101
+ "doc.uploading": string;
102
+ "doc.cameraBlocked": string;
103
+ "doc.cameraBlockedHint": string;
104
+ "doc.retryCamera": string;
105
+ "doc.holdUpright": string;
106
+ "doc.ageStepUp": string;
107
+ "reasons.underage_estimated": string;
108
+ "reasons.starter_credit_claimed": string;
109
+ "reasons.blocked_by_org": string;
110
+ "reasons.identity_not_verified": string;
111
+ "session.result.identityNotVerified": string;
112
+ "dcv2.sensing": string;
113
+ "dcv2.too_far": string;
114
+ "dcv2.too_close": string;
115
+ "dcv2.edge_clipped": string;
116
+ "dcv2.wrong_shape": string;
117
+ "dcv2.tilted": string;
118
+ "dcv2.too_dark": string;
119
+ "dcv2.too_bright": string;
120
+ "dcv2.blurry": string;
121
+ "dcv2.focus_far": string;
122
+ "dcv2.glare": string;
123
+ "dcv2.hold_still": string;
124
+ "dcv2.processing": string;
125
+ "dcv2.side_captured": string;
126
+ "dcv2.captured": string;
127
+ "session.processing.title": string;
128
+ "session.processing.description": string;
129
+ "handoff.title": string;
130
+ "handoff.lead.document": string;
131
+ "handoff.lead.portrait": string;
132
+ "capture.source.phone": string;
133
+ "session.processing.age_estimation.title": string;
134
+ "session.processing.age_estimation.description": string;
135
+ "session.result.review.title": string;
136
+ "session.result.review.description": string;
137
+ "session.result.rejected.title": string;
138
+ "session.result.rejected.description": string;
139
+ "session.result.expired.title": string;
140
+ "session.result.expired.description": string;
141
+ "session.result.detailsMismatch": string;
142
+ "session.result.deviceVelocity": string;
143
+ "session.result.verified.title": string;
144
+ "session.result.verified.titleHuman": string;
145
+ "session.result.verified.titlePhone": string;
146
+ "session.result.verified.titleEmail": string;
147
+ "session.result.verified.titleContact": string;
148
+ "session.result.verified.description": string;
149
+ "session.result.inconclusive.title": string;
150
+ "session.result.inconclusive.description": string;
151
+ "session.result.unavailable.title": string;
152
+ "session.result.unavailable.description": string;
153
+ "session.result.policy.title": string;
154
+ "session.result.policy.description": string;
155
+ "session.result.cooldown.title": string;
156
+ "session.result.cooldown.description": string;
157
+ "session.result.deviceStop": string;
158
+ "result.referenceLabel": string;
159
+ "capture.retrySamePerson.message": string;
160
+ "capture.retryMatch.message": string;
161
+ "common.loading": string;
162
+ "common.refresh": string;
163
+ "common.noAttemptsLeft": string;
164
+ "session.steps.portrait.title": string;
165
+ "session.steps.portrait.description": string;
166
+ "portrait.coach.no_face": string;
167
+ "portrait.coach.multiple_faces": string;
168
+ "portrait.coach.center": string;
169
+ "portrait.coach.too_close": string;
170
+ "portrait.coach.pose": string;
171
+ "portrait.coach.eyes": string;
172
+ "portrait.coach.mouth": string;
173
+ "portrait.coach.glare": string;
174
+ "portrait.coach.lighting": string;
175
+ "portrait.coach.lighting_side": string;
176
+ "portrait.coach.background": string;
177
+ "portrait.coach.resolution": string;
178
+ "portrait.coach.hold_still": string;
179
+ "portrait.coach.hold": string;
180
+ "portrait.criteria.face": string;
181
+ "portrait.criteria.framing": string;
182
+ "portrait.criteria.pose": string;
183
+ "portrait.criteria.eyes": string;
184
+ "portrait.criteria.mouth": string;
185
+ "portrait.criteria.glare": string;
186
+ "portrait.criteria.lighting": string;
187
+ "portrait.criteria.background": string;
188
+ "portrait.criteria.resolution": string;
189
+ "portrait.criteria.sharpness": string;
190
+ "portrait.report.pose": string;
191
+ "portrait.report.eyes": string;
192
+ "portrait.report.mouth": string;
193
+ "portrait.report.occlusion": string;
194
+ "portrait.report.glare": string;
195
+ "portrait.report.lighting": string;
196
+ "portrait.report.background": string;
197
+ "portrait.report.resolution": string;
198
+ "portrait.checksLabel": string;
199
+ "portrait.met": string;
200
+ "portrait.notMet": string;
201
+ "portrait.starting": string;
202
+ "portrait.taken": string;
203
+ "portrait.uploading": string;
204
+ "portrait.checking": string;
205
+ "portrait.retryTitle": string;
206
+ "portrait.reportTitle": string;
207
+ "portrait.retake": string;
208
+ "portrait.uploadFailed": string;
209
+ "portrait.sendAgain": string;
210
+ "portrait.matching": string;
211
+ "portrait.reviewTitle": string;
212
+ "portrait.reviewDescription": string;
213
+ "portrait.cameraBlocked": string;
214
+ "portrait.cameraBlockedHint": string;
215
+ "portrait.retryCamera": string;
216
+ "reasons.icao_pose": string;
217
+ "reasons.icao_eyes": string;
218
+ "reasons.icao_mouth": string;
219
+ "reasons.icao_occlusion": string;
220
+ "reasons.icao_lighting": string;
221
+ "reasons.icao_background": string;
222
+ "reasons.icao_resolution": string;
223
+ "reasons.portrait_not_from_liveness": string;
224
+ "reasons.tester_document_mismatch": string;
225
+ "reasons.tester_phone_mismatch": string;
226
+ "method.national_eid": string;
227
+ "method.national_eidGeneric": string;
228
+ "consent.short": string;
229
+ "consent.termsLink": string;
230
+ "session.progressLabel": string;
231
+ "section.contact": string;
232
+ "section.identity": string;
233
+ "section.live_photo": string;
234
+ "section.screening": string;
235
+ "handoff.copied": string;
236
+ "needsApp.title": string;
237
+ "needsApp.description": string;
238
+ "needsApp.descriptionNoOrg": string;
239
+ "consent.termsTitle": string;
240
+ "leave.title": string;
241
+ "leave.body": string;
242
+ "leave.confirm": string;
243
+ "leave.stay": string;
244
+ "otp.changeNumber": string;
245
+ "otp.backToCode": string;
246
+ "otp.reason_otp_resend_limit": string;
247
+ "reasons.otp_resend_limit": string;
248
+ "common.back": string;
249
+ "capture.assisted.heading": string;
250
+ "returning.heading": string;
251
+ "capture.checkingTitle": string;
252
+ "method.heading": string;
253
+ "sandbox.otpHint": string;
254
+ "sandbox.skipCapture": string;
255
+ "sandbox.simulatedTitle": string;
256
+ "sandbox.simulatedNoTesters": string;
257
+ "sandbox.simulatedGate": string;
258
+ "app.sandboxBadge": string;
259
+ "handoff.lead.poa": string;
260
+ "session.processing.proof_of_address.title": string;
261
+ "session.processing.proof_of_address.description": string;
262
+ "section.documents": string;
263
+ "section.form": string;
264
+ "population.recheck.title": string;
265
+ "population.recheck.description": string;
266
+ "otp.phoneInvalid": string;
267
+ "otp.codeInvalid": string;
268
+ "doc.countryTitle": string;
269
+ "doc.countryLabel": string;
270
+ "doc.countrySearch": string;
271
+ "doc.noCountryMatch": string;
272
+ "doc.type.carte_identite": string;
273
+ "doc.type.residence_permit": string;
274
+ "doc.type.passport": string;
275
+ "doc.showSide": string;
276
+ "doc.showPage": string;
277
+ "doc.flip": string;
278
+ "doc.sameFace": string;
279
+ "doc.reaskRecto": string;
280
+ "doc.reread": string;
281
+ "doc.photoTaken": string;
282
+ "doc.frontCaptured": string;
283
+ "doc.backCaptured": string;
284
+ "doc.pageCaptured": string;
285
+ "doc.progressFront": string;
286
+ "doc.progressBack": string;
287
+ "doc.progressPage": string;
288
+ "doc.shutter": string;
289
+ "doc.torchOn": string;
290
+ "doc.torchOff": string;
291
+ "result.platform_unsupported": string;
292
+ "unsupported.title": string;
293
+ "unsupported.description": string;
294
+ "shell.subtitle": string;
295
+ "shell.subtitleHuman": string;
296
+ "shell.verifiedBy": string;
297
+ "doc.sub.carte_identite": string;
298
+ "doc.sub.residence_permit": string;
299
+ "doc.sub.passport": string;
300
+ "doc.type.drivers_license": string;
301
+ "doc.sub.drivers_license": string;
302
+ "native.close": string;
303
+ "native.face.introTitle": string;
304
+ "native.face.introLead": string;
305
+ "native.face.humanIntroTitle": string;
306
+ "native.face.humanIntroLead": string;
307
+ "native.doc.holdIt": string;
308
+ "native.doc.changeCountry": string;
309
+ "native.result.review": string;
310
+ "native.result.rejected": string;
311
+ "native.result.expired": string;
312
+ "native.result.expiredTitle": string;
313
+ "native.result.copied": string;
314
+ "native.result.continue": string;
315
+ "native.result.verified": string;
316
+ "native.result.inconclusive": string;
317
+ "native.result.unavailable": string;
318
+ "native.result.policy": string;
319
+ "emailOtp.reason_otp_daily_cap_reached"?: string;
320
+ "emailOtp.reason_payment_method_required"?: string;
321
+ "emailOtp.reason_spend_cap_reached"?: string;
322
+ "emailOtp.reason_insufficient_balance"?: string;
323
+ "emailOtp.reason_account_verification_required"?: string;
324
+ "emailOtp.sendTitle"?: string;
325
+ "emailOtp.sendDescription"?: string;
326
+ "emailOtp.prefilledNotice"?: string;
327
+ "emailOtp.emailLabel"?: string;
328
+ "emailOtp.emailHelper"?: string;
329
+ "emailOtp.emailPlaceholder"?: string;
330
+ "emailOtp.emailInvalid"?: string;
331
+ "emailOtp.send"?: string;
332
+ "emailOtp.verifyTitle"?: string;
333
+ "emailOtp.verifyDescription"?: string;
334
+ "emailOtp.sentTo"?: string;
335
+ "emailOtp.codeLabel"?: string;
336
+ "emailOtp.codeHelper"?: string;
337
+ "emailOtp.verify"?: string;
338
+ "emailOtp.resend"?: string;
339
+ "emailOtp.resendIn"?: string;
340
+ "emailOtp.expiresIn"?: string;
341
+ "emailOtp.expired"?: string;
342
+ "emailOtp.reason_otp_mismatch"?: string;
343
+ "emailOtp.reason_otp_expired"?: string;
344
+ "emailOtp.reason_otp_send_failed"?: string;
345
+ "emailOtp.reason_otp_rate_limited"?: string;
346
+ "emailOtp.reason_email_invalid"?: string;
347
+ "emailOtp.reason_email_disposable"?: string;
348
+ "emailOtp.changeEmail"?: string;
349
+ "emailOtp.backToCode"?: string;
350
+ "emailOtp.reason_otp_resend_limit"?: string;
351
+ "eid.identifierTitle"?: string;
352
+ "eid.identifierTitleGeneric"?: string;
353
+ "eid.identifierDescription"?: string;
354
+ "eid.identifierDescriptionGeneric"?: string;
355
+ "eid.boundDescription"?: string;
356
+ "eid.boundDescriptionGeneric"?: string;
357
+ "eid.start"?: string;
358
+ "eid.codeTitle"?: string;
359
+ "eid.codeTitleGeneric"?: string;
360
+ "eid.codeHelp"?: string;
361
+ "eid.codeHelpGeneric"?: string;
362
+ "eid.codeLabel"?: string;
363
+ "eid.verify"?: string;
364
+ "eid.resend"?: string;
365
+ "eid.resendIn"?: string;
366
+ "eid.noResendsLeft"?: string;
367
+ "eid.expiresIn"?: string;
368
+ "eid.expired"?: string;
369
+ "eid.useCamera"?: string;
370
+ "reasons.eid_identifier_invalid"?: string;
371
+ "reasons.eid_code_invalid"?: string;
372
+ "reasons.eid_code_expired"?: string;
373
+ "reasons.eid_locked"?: string;
374
+ "reasons.eid_not_enrolled"?: string;
375
+ "reasons.eid_unavailable"?: string;
376
+ "reasons.eid_resend_too_soon"?: string;
377
+ "reasons.eid_resend_limit"?: string;
378
+ "eid.continueHint"?: string;
379
+ "eid.continueHintGeneric"?: string;
380
+ "eid.resendsRemaining.zero"?: string;
381
+ "eid.resendsRemaining.one"?: string;
382
+ "eid.resendsRemaining.two"?: string;
383
+ "eid.resendsRemaining.few"?: string;
384
+ "eid.resendsRemaining.many"?: string;
385
+ "eid.resendsRemaining.other"?: string;
386
+ "eid.codeAttemptsRemaining.zero"?: string;
387
+ "eid.codeAttemptsRemaining.one"?: string;
388
+ "eid.codeAttemptsRemaining.two"?: string;
389
+ "eid.codeAttemptsRemaining.few"?: string;
390
+ "eid.codeAttemptsRemaining.many"?: string;
391
+ "eid.codeAttemptsRemaining.other"?: string;
392
+ "dcv3.mrz.searching"?: string;
393
+ "dcv3.mrz.showMrzSide"?: string;
394
+ "dcv3.mrz.reading"?: string;
395
+ "dcv3.mrz.moveCloser"?: string;
396
+ "dcv3.mrz.turnSideways"?: string;
397
+ "dcv3.mrz.glare"?: string;
398
+ "dcv3.mrz.holdStill"?: string;
399
+ "dcv3.mrz.valid"?: string;
400
+ "dcv3.mrz.looksLikePassport"?: string;
401
+ "dcv3.mrz.looksLikeCard"?: string;
402
+ "portrait.source.title"?: string;
403
+ "portrait.source.description"?: string;
404
+ "portrait.source.camera"?: string;
405
+ "portrait.source.upload"?: string;
406
+ "portrait.source.uploadInstead"?: string;
407
+ "portrait.upload.title"?: string;
408
+ "portrait.upload.hint"?: string;
409
+ "portrait.upload.choose"?: string;
410
+ "portrait.upload.unsupported"?: string;
411
+ "portrait.upload.failed"?: string;
412
+ "portrait.review.title"?: string;
413
+ "portrait.review.description"?: string;
414
+ "portrait.review.original"?: string;
415
+ "portrait.review.fixed"?: string;
416
+ "portrait.review.fixesTitle"?: string;
417
+ "portrait.review.accept"?: string;
418
+ "portrait.review.retake"?: string;
419
+ "portrait.review.uploadAnother"?: string;
420
+ "portrait.fixes.crop"?: string;
421
+ "portrait.fixes.scale"?: string;
422
+ "portrait.fixes.straighten"?: string;
423
+ "portrait.fixes.background"?: string;
424
+ "portrait.fixes.exposure"?: string;
425
+ "portrait.fixes.white_balance"?: string;
426
+ "reasons.portrait_morph_suspected"?: string;
427
+ "reasons.portrait_reference_mismatch"?: string;
428
+ "reasons.portrait_declined_fix"?: string;
429
+ "doc.uploadInstead"?: string;
430
+ "doc.uploadTitle"?: string;
431
+ "doc.uploadHint"?: string;
432
+ "doc.uploadUnsupported"?: string;
433
+ "doc.uploadFailed"?: string;
434
+ "doc.source.title"?: string;
435
+ "doc.source.description"?: string;
436
+ "doc.source.camera"?: string;
437
+ "doc.source.upload"?: string;
438
+ "poa.title"?: string;
439
+ "poa.lead"?: string;
440
+ "poa.accepted"?: string;
441
+ "poa.acceptedFor"?: string;
442
+ "poa.kindDated"?: string;
443
+ "poa.kinds.utility_bill"?: string;
444
+ "poa.kinds.telecom_bill"?: string;
445
+ "poa.kinds.bank_statement"?: string;
446
+ "poa.kinds.tax_notice"?: string;
447
+ "poa.kinds.rental_agreement"?: string;
448
+ "poa.kinds.government_certificate"?: string;
449
+ "poa.kinds.insurance_statement"?: string;
450
+ "poa.source.camera"?: string;
451
+ "poa.source.upload"?: string;
452
+ "poa.source.lead"?: string;
453
+ "poa.upload.hint"?: string;
454
+ "poa.upload.choose"?: string;
455
+ "poa.upload.addPage"?: string;
456
+ "poa.upload.pages"?: string;
457
+ "poa.upload.send"?: string;
458
+ "poa.upload.sending"?: string;
459
+ "poa.upload.unsupported"?: string;
460
+ "poa.upload.tooManyPages"?: string;
461
+ "poa.upload.tooLarge"?: string;
462
+ "poa.upload.failed"?: string;
463
+ "poa.camera.lead"?: string;
464
+ "poa.camera.capture"?: string;
465
+ "poa.camera.retake"?: string;
466
+ "poa.camera.next"?: string;
467
+ "poa.camera.page"?: string;
468
+ "poa.letter.title"?: string;
469
+ "poa.letter.lead"?: string;
470
+ "poa.letter.send"?: string;
471
+ "poa.licence.use"?: string;
472
+ "poa.licence.note"?: string;
473
+ "poa.retry.document_too_old"?: string;
474
+ "poa.retry.document_date_invalid"?: string;
475
+ "poa.retry.document_kind_not_accepted"?: string;
476
+ "poa.retry.name_mismatch"?: string;
477
+ "poa.retry.address_mismatch"?: string;
478
+ "poa.retry.holder_letter_missing"?: string;
479
+ "poa.retry.unreadable"?: string;
480
+ "poa.retry.pdf_protected"?: string;
481
+ "poa.retry.provider_unavailable"?: string;
482
+ "poa.hint.blurry"?: string;
483
+ "poa.hint.cropped"?: string;
484
+ "poa.hint.glare"?: string;
485
+ "reasons.provider_unavailable"?: string;
486
+ "reasons.pdf_protected"?: string;
487
+ "reasons.document_kind_not_accepted"?: string;
488
+ "reasons.document_date_invalid"?: string;
489
+ "reasons.document_too_old"?: string;
490
+ "reasons.document_tampered"?: string;
491
+ "reasons.holder_letter_required"?: string;
492
+ "reasons.holder_letter_missing"?: string;
493
+ "reasons.address_mismatch"?: string;
494
+ "form.title"?: string;
495
+ "form.lead"?: string;
496
+ "form.optional"?: string;
497
+ "form.continue"?: string;
498
+ "form.sending"?: string;
499
+ "form.yes"?: string;
500
+ "form.no"?: string;
501
+ "form.chooseAny"?: string;
502
+ "form.choose"?: string;
503
+ "form.openLink"?: string;
504
+ "form.consents"?: string;
505
+ "form.date.day"?: string;
506
+ "form.date.month"?: string;
507
+ "form.date.year"?: string;
508
+ "form.fields.full_name.label"?: string;
509
+ "form.fields.full_name.help"?: string;
510
+ "form.fields.birth_date.label"?: string;
511
+ "form.fields.email.label"?: string;
512
+ "form.fields.phone.label"?: string;
513
+ "form.fields.address.label"?: string;
514
+ "form.fields.address.help"?: string;
515
+ "form.fields.country.label"?: string;
516
+ "form.fields.occupation.label"?: string;
517
+ "form.address.line1"?: string;
518
+ "form.address.line2"?: string;
519
+ "form.address.city"?: string;
520
+ "form.address.postcode"?: string;
521
+ "form.address.country"?: string;
522
+ "form.address.addLine"?: string;
523
+ "form.phoneCountry"?: string;
524
+ "form.errors.summary"?: string;
525
+ "form.errors.required"?: string;
526
+ "form.errors.choiceRequired"?: string;
527
+ "form.errors.consentRequired"?: string;
528
+ "form.errors.tooLong"?: string;
529
+ "form.errors.tooShort"?: string;
530
+ "form.errors.email"?: string;
531
+ "form.errors.phone"?: string;
532
+ "form.errors.date"?: string;
533
+ "form.errors.datePast"?: string;
534
+ "form.errors.dateFuture"?: string;
535
+ "form.errors.dateMin"?: string;
536
+ "form.errors.dateMax"?: string;
537
+ "form.errors.number"?: string;
538
+ "form.errors.numberInteger"?: string;
539
+ "form.errors.numberDecimals"?: string;
540
+ "form.errors.numberMin"?: string;
541
+ "form.errors.numberMax"?: string;
542
+ "form.errors.choice"?: string;
543
+ "form.errors.cardNumber"?: string;
544
+ "form.errors.address"?: string;
545
+ "form.errors.failed"?: string;
546
+ "native.doc.introTitle"?: string;
547
+ "native.doc.introLead"?: string;
548
+ "native.doc.tip.flat"?: string;
549
+ "native.doc.tip.glare"?: string;
550
+ "native.doc.tip.frame"?: string;
551
+ "native.doc.openCamera"?: string;
552
+ "native.doc.changeDocument"?: string;
553
+ "native.scan.closer"?: string;
554
+ "native.scan.farther"?: string;
555
+ "native.scan.glare"?: string;
556
+ "native.scan.dark"?: string;
557
+ "native.scan.blurry"?: string;
558
+ "native.scan.holdStill"?: string;
559
+ "native.scan.reading"?: string;
560
+ "native.scan.putDown"?: string;
561
+ "native.scan.retry"?: string;
562
+ "consent.human.terms.intro"?: string;
563
+ "consent.human.terms.data"?: string;
564
+ "consent.human.terms.processing"?: string;
565
+ "consent.human.terms.sharing"?: string;
566
+ "consent.human.terms.retention"?: string;
567
+ "capture.noCamera.title"?: string;
568
+ "capture.noCamera.body"?: string;
569
+ "capture.noCamera.continue"?: string;
570
+ "capture.noCamera.deniedTitle"?: string;
571
+ "capture.noCamera.deniedBody"?: string;
572
+ "capture.noCamera.stepsChrome"?: string;
573
+ "capture.noCamera.stepsSamsung"?: string;
574
+ "capture.noCamera.stepsSafari"?: string;
575
+ "capture.noCamera.stepsDesktop"?: string;
576
+ "capture.noCamera.stepsSystem"?: string;
577
+ "capture.noCamera.stillBlocked"?: string;
578
+ "capture.noCamera.inAppTitle"?: string;
579
+ "capture.noCamera.inAppBody"?: string;
580
+ "choice.title"?: string;
581
+ "choice.description"?: string;
582
+ "choice.switch"?: string;
583
+ "contact.title"?: string;
584
+ "contact.description"?: string;
585
+ "contact.phone"?: string;
586
+ "contact.email"?: string;
587
+ "contact.switch"?: string;
588
+ "summary.title"?: string;
589
+ "summary.description"?: string;
590
+ "summary.fullName"?: string;
591
+ "summary.birthDate"?: string;
592
+ "summary.nationality"?: string;
593
+ "summary.documentType"?: string;
594
+ "summary.documentNumber"?: string;
595
+ "summary.nni"?: string;
596
+ "summary.id_number"?: string;
597
+ "summary.expiryDate"?: string;
598
+ "summary.portraitAlt"?: string;
599
+ "summary.source.registry"?: string;
600
+ "summary.source.document"?: string;
601
+ "summary.source.chip"?: string;
602
+ "summary.name"?: string;
603
+ "summary.birthYear"?: string;
604
+ "summary.confirm"?: string;
605
+ "summary.retakeDocument"?: string;
606
+ "summary.retakeNationalNumber"?: string;
607
+ "summary.noRetake"?: string;
608
+ "capture.tipsIcao.title"?: string;
609
+ "capture.tipsIcao.glasses"?: string;
610
+ "capture.tipsIcao.headwear"?: string;
611
+ "capture.tipsIcao.expression"?: string;
612
+ "capture.tipsIcao.faceCamera"?: string;
613
+ "capture.tipsIcao.background"?: string;
614
+ "capture.tipsIcao.lighting"?: string;
615
+ "capture.tipsIcao.hair"?: string;
616
+ "capture.tipsIcao.summary"?: string;
617
+ "portrait.retakeOnly"?: string;
618
+ "portrait.keepCamera"?: string;
619
+ "handoff.description"?: string;
620
+ "handoff.qrAlt"?: string;
621
+ "handoff.copyLink"?: string;
622
+ "handoff.copyFailed"?: string;
623
+ "handoff.waiting"?: string;
624
+ "inApp.title"?: string;
625
+ "inApp.description"?: string;
626
+ "inApp.copyLink"?: string;
627
+ "inApp.copied"?: string;
628
+ "inApp.copyFailed"?: string;
629
+ "inApp.continueAnyway"?: string;
630
+ "needsApp.capture.title"?: string;
631
+ "needsApp.capture.description"?: string;
632
+ "needsApp.capture.descriptionSekyro"?: string;
633
+ "needsApp.capture.descriptionNoOrg"?: string;
634
+ "needsApp.capture.descriptionNoOrgSekyro"?: string;
635
+ "needsApp.capture.openSekyro"?: string;
636
+ "needsApp.capture.getApp"?: string;
637
+ "needsApp.capture.appStore"?: string;
638
+ "needsApp.capture.googlePlay"?: string;
639
+ "needsApp.capture.scan"?: string;
640
+ "needsApp.capture.qrAlt"?: string;
641
+ "needsApp.capture.waiting"?: string;
642
+ "inApp.openBrowser"?: string;
643
+ "testerGate.action"?: string;
644
+ "testerGate.title"?: string;
645
+ "testerGate.body"?: string;
646
+ "testerGate.start"?: string;
647
+ "testerGate.checking"?: string;
648
+ "testerGate.boundTitle"?: string;
649
+ "testerGate.boundBody"?: string;
650
+ "testerGate.missTitle"?: string;
651
+ "testerGate.missBody"?: string;
652
+ "testerGate.retry"?: string;
653
+ "testerGate.continueTest"?: string;
654
+ "testerGate.continue"?: string;
655
+ "testerGate.limitBody"?: string;
656
+ "testerGate.exhaustedBody"?: string;
657
+ "testerGate.closedBody"?: string;
658
+ }
659
+
660
+ /**
661
+ * Loads the copy of an overlay locale (es, pt, de); resolves at once for ar/fr/en. The components load it by
662
+ * themselves (they render once it is there); call it ahead to have the copy ready on the first render. A failed
663
+ * download leaves the locale on English.
664
+ */
665
+ declare function loadSekyroLocale(locale: SekyroLocale): Promise<void>;
666
+
667
+ declare const arSteps: StepStrings;
668
+
669
+ declare const enSteps: StepStrings;
670
+
671
+ declare const frSteps: StepStrings;
672
+
673
+ type SekyroStrings = Strings & StepStrings;
674
+ type SekyroStringKey = keyof SekyroStrings;
675
+ type StepTranslate = (key: SekyroStringKey, vars?: Record<string, string | number>) => string;
676
+ declare function formatTemplate(template: string, vars?: Record<string, string | number>): string;
677
+ /** 0.1 built-ins → step built-ins → (es/pt/de) the locale's loaded overlay → overrides. */
678
+ declare function resolveSekyroStrings(locale: SekyroLocale, overrides?: Partial<SekyroStrings>): SekyroStrings;
679
+ interface StepI18n {
680
+ locale: SekyroLocale;
681
+ strings: SekyroStrings;
682
+ t: StepTranslate;
683
+ }
684
+ /** es/pt/de: renders once the locale's overlay is loaded (no English flash). */
685
+ declare function StepI18nProvider({ locale, strings, children }: {
686
+ locale: SekyroLocale;
687
+ strings?: Partial<SekyroStrings>;
688
+ children: ReactNode;
689
+ }): react.JSX.Element | null;
690
+ /** Props win over the surrounding provider; default English. */
691
+ declare function useStepI18n(locale?: SekyroLocale, strings?: Partial<SekyroStrings>): StepI18n;
692
+
693
+ /** Runs the verification's plan runner and returns the current step. */
694
+ declare function useVerificationStep(verification: Verification | undefined): {
695
+ step: VerificationStep | null;
696
+ error: unknown;
697
+ };
698
+
699
+ /** Props shared by every step component. */
700
+ interface StepComponentProps {
701
+ /** Default: the surrounding <SekyroVerification>'s locale, else `en`. */
702
+ locale?: SekyroLocale;
703
+ strings?: Partial<SekyroStrings>;
704
+ className?: string;
705
+ /** Every failed action (local validation and API errors) — for host telemetry. */
706
+ onError?: (error: unknown) => void;
707
+ }
708
+
709
+ interface PhoneOtpStepProps extends StepComponentProps {
710
+ step: PhoneOtpStepHandle;
711
+ /** Initial value of the number field (default: the calling code of the flow's first contact country, else empty). */
712
+ defaultPhone?: string;
713
+ }
714
+ declare function PhoneOtpStep({ step, locale, strings, className, defaultPhone: initialPhone, onError }: PhoneOtpStepProps): react.JSX.Element;
715
+
716
+ interface EmailOtpStepProps extends StepComponentProps {
717
+ step: EmailOtpStepHandle;
718
+ /** Initial value of the address field (default empty). */
719
+ defaultEmail?: string;
720
+ }
721
+ declare function EmailOtpStep({ locale, strings, ...props }: EmailOtpStepProps): react.JSX.Element;
722
+
723
+ interface EidStepProps extends StepComponentProps {
724
+ step: EidStepHandle;
725
+ }
726
+ declare function EidStep({ locale, strings, ...props }: EidStepProps): react.JSX.Element;
727
+
728
+ declare function MethodChoice({ step, locale, strings, className, onError }: StepComponentProps & {
729
+ step: MethodStepHandle;
730
+ }): react.JSX.Element;
731
+
732
+ /** The registry step: type the national number, or confirm the number the session holds. */
733
+ declare function IdNumberEntry({ step, locale, strings, className, onError }: StepComponentProps & {
734
+ step: RegistryStepHandle;
735
+ }): react.JSX.Element;
736
+ /** @deprecated Use {@link IdNumberEntry} (the same component). */
737
+ declare function NniEntry(input: StepComponentProps & {
738
+ step: RegistryStepHandle;
739
+ }): react.JSX.Element;
740
+
741
+ declare function DocumentCapture({ step, locale, strings, className, liveMrz, barcodeAssetBaseUrl, }: StepComponentProps & {
742
+ step: DocumentStepHandle;
743
+ /** Web live MRZ (on-device MRZ read on MRZ faces; obeys the session's server tuning). */
744
+ liveMrz?: DocumentLiveMrzOptions;
745
+ /** Where the barcode decoder binary is served (spec 2026-11-11 D10; default: Sekyro AI's asset host). */
746
+ barcodeAssetBaseUrl?: string;
747
+ }): react.JSX.Element;
748
+
749
+ declare function PortraitCapture({ step, locale, strings, className, assetBaseUrl, verification, }: StepComponentProps & {
750
+ step: PortraitStepHandle;
751
+ /** Self-hosted MediaPipe assets (wasm fileset + `face_landmarker.task`); default `/models-v3`. */
752
+ assetBaseUrl?: string;
753
+ /**
754
+ * The session's verification: the camera waits for the session's capture mode. Under `choice` the camera opens on
755
+ * the person's pick (`self` before one) and switches on the camera view (spec 2026-11-06 §3.3). Without it the
756
+ * camera follows the step handle.
757
+ */
758
+ verification?: Verification;
759
+ }): react.JSX.Element;
760
+
761
+ /**
762
+ * The proof of address step: the accepted documents for the best known country, the file upload (images or one PDF)
763
+ * or the page camera per the step's source, the retry reason with what to do next, and the bill holder's letter.
764
+ */
765
+ declare function ProofOfAddress({ step, locale, strings, className }: StepComponentProps & {
766
+ step: ProofOfAddressStepHandle;
767
+ }): react.JSX.Element;
768
+
769
+ /**
770
+ * The Form step: one screen with the partner's questions in their order, then the consents and one "Continue". The
771
+ * partner's text keeps its own language and direction; labels of the ready-made fields, buttons and errors follow the
772
+ * page. Prefilled answers are shown and stay editable.
773
+ */
774
+ declare function FormStep({ step, locale, strings, className, onError }: StepComponentProps & {
775
+ step: FormStepHandle;
776
+ }): react.JSX.Element;
777
+
778
+ /** `system` follows the device (prefers-color-scheme). */
779
+ type SekyroColorScheme = "light" | "dark" | "system";
780
+
781
+ /** What {@link SekyroVerificationProps.onClose} reports. */
782
+ interface SekyroCloseEvent {
783
+ /**
784
+ * `finished`: the person is done (the result's "Continue" button, or the close button on the result page);
785
+ * `cancelled`: they closed the flow before its result.
786
+ */
787
+ reason: "finished" | "cancelled";
788
+ /** The verdict shown on the result page (`finished` only). Display only: read the real outcome on your server. */
789
+ result?: VerificationResult;
790
+ }
791
+ interface SekyroVerificationProps {
792
+ verification: Verification;
793
+ locale: SekyroLocale;
794
+ dir?: "ltr" | "rtl";
795
+ strings?: Partial<SekyroStrings>;
796
+ /** Runtime theme — wins over the session's branding (SDK spec §6.4). */
797
+ theme?: SekyroTheme;
798
+ /** Light (default: the component sits in your page), dark, or the device's setting. */
799
+ colorScheme?: SekyroColorScheme;
800
+ assetBaseUrl?: string;
801
+ /**
802
+ * Web live MRZ for the document step: `workerUrl` (where your bundler serves `@sekyro/web/core/ocr/worker`),
803
+ * `assetBaseUrl` (self-hosted OCR assets) or `mode: "off"`. The session's server tuning decides when it runs.
804
+ */
805
+ documentLiveMrz?: DocumentLiveMrzOptions;
806
+ /**
807
+ * Where the barcode decoder binary is served for the document step (default: Sekyro AI's asset host). Self-host
808
+ * `zxing_reader.wasm` of the `zxing-wasm` version `@sekyro/web` pins as `<base>/<sha12>/zxing_reader.wasm`.
809
+ */
810
+ documentBarcodeAssetBaseUrl?: string;
811
+ voice?: false | VoiceOptions;
812
+ livenessProps?: Omit<LivenessCaptureProps, "verification" | "locale" | "dir" | "strings" | "assetBaseUrl" | "voice" | "onCaptured" | "onResult">;
813
+ /**
814
+ * `header` and `footer` replace the partner header and the "Verified by Sekyro AI" link (`footer: null` hides it;
815
+ * the link also hides when the org hides the attribution, `branding.hideAttribution`);
816
+ * `headerEnd` sits at the inline end of the partner header (a language menu), before the close button.
817
+ */
818
+ slots?: {
819
+ header?: ReactNode;
820
+ headerEnd?: ReactNode;
821
+ footer?: ReactNode;
822
+ result?: (step: ResultStepHandle) => ReactNode;
823
+ };
824
+ onStep?: (step: VerificationStep) => void;
825
+ onResult?: (result: VerificationResult) => void;
826
+ /**
827
+ * The person closes the flow: the header's close button, or the result's "Continue" button (as on the native
828
+ * SDKs). Take them back to your page. Without it, neither button is shown.
829
+ */
830
+ onClose?: (event: SekyroCloseEvent) => void;
831
+ /**
832
+ * The browser's back button (UX refresh 2026-11-05 decision 2). `history`: the flow
833
+ * keeps one history entry of its own, so back goes one screen back where the screen has a way back (the camera to
834
+ * its intro, the code to the number), else asks "Leave verification?" once anything was sent, and leaves when
835
+ * nothing was. `none` (the default, of `<SekyroFlow>` too): the flow never touches the page's history. The hosted
836
+ * page passes `history`; a partner page passes it only when the flow owns the page's back button.
837
+ */
838
+ backNavigation?: "history" | "none";
839
+ /** Fires before the liveness upload (SDK spec §7.5 shadow hook). */
840
+ onLivenessCaptured?: (artifacts: CapturedArtifacts) => void;
841
+ /**
842
+ * The link a desktop shows as a QR code when the live photo needs a phone
843
+ * (the session's `hostedUrl`); absent = a "continue on your phone" notice.
844
+ * `<SekyroFlow>` defaults it to this page's address.
845
+ */
846
+ handoffUrl?: string;
847
+ className?: string;
848
+ }
849
+ declare function SekyroVerification(props: SekyroVerificationProps): react.JSX.Element;
850
+
851
+ interface SekyroFlowProps extends SekyroVerificationProps {
852
+ /** The session's `hostedUrl` (create result): the QR code and the "open in your browser" link. Default: this page's address. */
853
+ hostedUrl?: string;
854
+ /** Override the in-app browser detection (tests / hosts that know better). */
855
+ inAppBrowser?: boolean;
856
+ }
857
+ declare function SekyroFlow({ hostedUrl, inAppBrowser, ...props }: SekyroFlowProps): react.JSX.Element;
858
+
859
+ /** The page runs inside an app's WebView (WhatsApp, Instagram, Facebook, TikTok, Snapchat, LINE, LinkedIn, WeChat, an Android WebView…). */
860
+ declare function isInAppBrowser(userAgent?: string): boolean;
861
+
862
+ declare function VerificationResultScreen({ step, locale, strings, className, onClose, }: StepComponentProps & {
863
+ step: ResultStepHandle;
864
+ /**
865
+ * Shows the primary action, "Continue" for every outcome, as on the native SDKs: the flow runs inside the host's
866
+ * app or page, so the person never left it, and the host decides what comes next.
867
+ */
868
+ onClose?: () => void;
869
+ }): react.JSX.Element;
870
+
871
+ export { DocumentCapture, EidStep, type EidStepProps, EmailOtpStep, type EmailOtpStepProps, FormStep, IdNumberEntry, MethodChoice, NniEntry, PhoneOtpStep, type PhoneOtpStepProps, PortraitCapture, ProofOfAddress, type SekyroCloseEvent, type SekyroColorScheme, SekyroFlow, type SekyroFlowProps, SekyroLocale, type SekyroStringKey, type SekyroStrings, SekyroVerification, type SekyroVerificationProps, type StepComponentProps, type StepI18n, StepI18nProvider, type StepStrings, type StepTranslate, Strings, VerificationResultScreen, arSteps, enSteps, formatTemplate, frSteps, isInAppBrowser, loadSekyroLocale, resolveSekyroStrings, useStepI18n, useVerificationStep };