@sphereon/idk-lib-conf-settings 0.25.0-SNAPSHOT-build-1d61bce

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.
@@ -0,0 +1,1054 @@
1
+ type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
3
+ export declare interface KtList<E> /* extends Collection<E> */ {
4
+ asJsReadonlyArrayView(): ReadonlyArray<E>;
5
+ readonly __doNotUseOrImplementIt: {
6
+ readonly "kotlin.collections.KtList": unique symbol;
7
+ };
8
+ }
9
+ export declare namespace KtList {
10
+ function fromJsArray<E>(array: ReadonlyArray<E>): KtList<E>;
11
+ }
12
+ export declare interface KtMap<K, V> {
13
+ asJsReadonlyMapView(): ReadonlyMap<K, V>;
14
+ readonly __doNotUseOrImplementIt: {
15
+ readonly "kotlin.collections.KtMap": unique symbol;
16
+ };
17
+ }
18
+ export declare namespace KtMap {
19
+ function fromJsMap<K, V>(map: ReadonlyMap<K, V>): KtMap<K, V>;
20
+ }
21
+ export declare interface KtMutableList<E> extends KtList<E>/*, MutableCollection<E> */ {
22
+ asJsArrayView(): Array<E>;
23
+ readonly __doNotUseOrImplementIt: {
24
+ readonly "kotlin.collections.KtMutableList": unique symbol;
25
+ } & KtList<any>["__doNotUseOrImplementIt"];
26
+ }
27
+ export declare namespace KtMutableList {
28
+ function fromJsArray<E>(array: ReadonlyArray<E>): KtMutableList<E>;
29
+ }
30
+ export declare interface KtMutableMap<K, V> extends KtMap<K, V> {
31
+ asJsMapView(): Map<K, V>;
32
+ readonly __doNotUseOrImplementIt: {
33
+ readonly "kotlin.collections.KtMutableMap": unique symbol;
34
+ } & KtMap<any, any>["__doNotUseOrImplementIt"];
35
+ }
36
+ export declare namespace KtMutableMap {
37
+ function fromJsMap<K, V>(map: ReadonlyMap<K, V>): KtMutableMap<K, V>;
38
+ }
39
+ export declare interface KtSet<E> /* extends Collection<E> */ {
40
+ asJsReadonlySetView(): ReadonlySet<E>;
41
+ readonly __doNotUseOrImplementIt: {
42
+ readonly "kotlin.collections.KtSet": unique symbol;
43
+ };
44
+ }
45
+ export declare namespace KtSet {
46
+ function fromJsSet<E>(set: ReadonlySet<E>): KtSet<E>;
47
+ }
48
+ export declare abstract class Encoding {
49
+ private constructor();
50
+ static get BASE64(): Encoding & {
51
+ get name(): "BASE64";
52
+ get ordinal(): 0;
53
+ };
54
+ static get BASE64URL(): Encoding & {
55
+ get name(): "BASE64URL";
56
+ get ordinal(): 1;
57
+ };
58
+ static get BASE58BTC(): Encoding & {
59
+ get name(): "BASE58BTC";
60
+ get ordinal(): 2;
61
+ };
62
+ static get HEX(): Encoding & {
63
+ get name(): "HEX";
64
+ get ordinal(): 3;
65
+ };
66
+ static get UTF8(): Encoding & {
67
+ get name(): "UTF8";
68
+ get ordinal(): 4;
69
+ };
70
+ static values(): [typeof Encoding.BASE64, typeof Encoding.BASE64URL, typeof Encoding.BASE58BTC, typeof Encoding.HEX, typeof Encoding.UTF8];
71
+ static valueOf(value: string): Encoding;
72
+ get name(): "BASE64" | "BASE64URL" | "BASE58BTC" | "HEX" | "UTF8";
73
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
74
+ }
75
+ export declare namespace Encoding {
76
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
77
+ namespace $metadata$ {
78
+ const constructor: abstract new () => Encoding;
79
+ }
80
+ }
81
+ export declare function decodeFromHex(_this_: string): Int8Array;
82
+ export declare function encodeToHex(_this_: Int8Array): string;
83
+ export declare function encodeToBase58Btc(_this_: Int8Array): string;
84
+ export declare function decodeFromBase58Btc(_this_: string): Int8Array;
85
+ export declare function decodeFromBase64Url(_this_: string): Int8Array;
86
+ export declare function encodeToBase64Url(_this_: Int8Array): string;
87
+ export declare function encodeToBase64(_this_: Int8Array, urlSafe?: boolean): string;
88
+ export declare function decodeFromBase64(_this_: string, urlSafe?: boolean): Int8Array;
89
+ export declare function decodeFrom(_this_: string, encoding: Encoding): Int8Array;
90
+ export declare function encodeTo(_this_: Int8Array, encoding: Encoding): string;
91
+ export declare function decodeUrlGraph(_this_: string): string;
92
+ export declare function encodeUrlGraph(_this_: string): string;
93
+ export declare class IdkResult<V, E> {
94
+ private constructor();
95
+ get isOk(): boolean;
96
+ get isErr(): boolean;
97
+ get value(): V;
98
+ get error(): E;
99
+ component1(): Nullable<V>;
100
+ component2(): Nullable<E>;
101
+ toString(): string;
102
+ onSuccess(action: (p0: V) => void): IdkResult<V, E>;
103
+ onFailure(action: (p0: E) => void): IdkResult<V, E>;
104
+ map<R>(transform: (p0: V) => R): IdkResult<R, E>;
105
+ mapError<F>(transform: (p0: E) => F): IdkResult<V, F>;
106
+ flatMap<R>(transform: (p0: V) => IdkResult<R, E>): IdkResult<R, E>;
107
+ andThen<R>(transform: (p0: V) => IdkResult<R, E>): IdkResult<R, E>;
108
+ recover(transform: (p0: E) => V): IdkResult<V, E>;
109
+ getOr(defaultValue: V): V;
110
+ getOrElse(transform: (p0: E) => V): V;
111
+ fold<R>(success: (p0: V) => R, failure: (p0: E) => R): R;
112
+ mapBoth<R>(success: (p0: V) => R, failure: (p0: E) => R): R;
113
+ get(): Nullable<V>;
114
+ getErrorOrNull(): Nullable<E>;
115
+ getOrNull(): Nullable<V>;
116
+ errorOrNull(): Nullable<E>;
117
+ getOrThrow(): V;
118
+ }
119
+ export declare namespace IdkResult {
120
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
121
+ namespace $metadata$ {
122
+ const constructor: abstract new <V, E>() => IdkResult<V, E>;
123
+ }
124
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
125
+ private constructor();
126
+ }
127
+ namespace Companion {
128
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
129
+ namespace $metadata$ {
130
+ abstract class constructor {
131
+ ok<V, E>(value: V): IdkResult<V, E>;
132
+ err<V, E>(error: E): IdkResult<V, E>;
133
+ private constructor();
134
+ }
135
+ }
136
+ }
137
+ }
138
+ export declare class Ok<V> extends IdkResult.$metadata$.constructor<V, never> {
139
+ constructor(_value: V);
140
+ get value(): V;
141
+ asResult<E>(): IdkResult<V, E>;
142
+ toString(): string;
143
+ equals(other: Nullable<any>): boolean;
144
+ hashCode(): number;
145
+ }
146
+ export declare namespace Ok {
147
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
148
+ namespace $metadata$ {
149
+ const constructor: abstract new <V>() => Ok<V>;
150
+ }
151
+ }
152
+ export declare class Err<E> extends IdkResult.$metadata$.constructor<never, E> {
153
+ constructor(_error: E);
154
+ get error(): E;
155
+ asResult<V>(): IdkResult<V, E>;
156
+ toString(): string;
157
+ equals(other: Nullable<any>): boolean;
158
+ hashCode(): number;
159
+ }
160
+ export declare namespace Err {
161
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
162
+ namespace $metadata$ {
163
+ const constructor: abstract new <E>() => Err<E>;
164
+ }
165
+ }
166
+ export declare function IdkIsOk<V, E>(result: IdkResult<V, E>): boolean;
167
+ export declare function IdkIsErr<V, E>(result: IdkResult<V, E>): boolean;
168
+ export declare function IdkGetOrNull<V, E>(result: IdkResult<V, E>): Nullable<V>;
169
+ export declare function IdkErrorOrNull<V, E>(result: IdkResult<V, E>): Nullable<E>;
170
+ export declare function IdkOkResult<V>(value: V): IdkResult<V, never>;
171
+ export declare function IdkErrorResult<E extends IdkErrorType>(error: E): IdkResult<never, E>;
172
+ export declare interface IdkErrorType {
173
+ readonly code: string;
174
+ readonly message: IdkError.Message;
175
+ readonly severity: IdkError.Severity;
176
+ readonly exception: Nullable<Error>;
177
+ readonly causes: KtList<IdkErrorType>;
178
+ readonly meta: KtMap<string, Nullable<any>>;
179
+ readonly __doNotUseOrImplementIt: {
180
+ readonly "com.sphereon.core.api.error.IdkErrorType": unique symbol;
181
+ };
182
+ }
183
+ export declare class IdkError implements IdkErrorType {
184
+ constructor(code: string, message: IdkError.Message, severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, meta?: KtMap<string, Nullable<any>>, exception?: Nullable<Error>);
185
+ get code(): string;
186
+ get message(): IdkError.Message;
187
+ get severity(): IdkError.Severity;
188
+ get causes(): KtList<IdkErrorType>;
189
+ get meta(): KtMap<string, Nullable<any>>;
190
+ get exception(): Nullable<Error>;
191
+ hasException(): boolean;
192
+ hasCauses(): boolean;
193
+ hasMeta(): boolean;
194
+ addCause(cause: IdkError): IdkError;
195
+ toString(): string;
196
+ static fromDTO(error: IdkErrorType): IdkError;
197
+ static fromString(message: string, code?: string, exception?: Nullable<Error>/* Nullable<Exception> */, i18nKey?: string, severity?: IdkError.Severity): IdkError;
198
+ static fromDefinition(definition: ErrorDefinitionType, i18nParams?: KtMap<string, Nullable<any>>, causes?: KtList<IdkError>, meta?: KtMap<string, Nullable<any>>, severity?: IdkError.Severity, exception?: Nullable<Error>): IdkError;
199
+ static UNKNOWN_ERROR(severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, message?: string, exception?: Nullable<Error>): IdkError;
200
+ static ILLEGAL_ARGUMENT_ERROR(severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, arg?: Nullable<any>, message?: string, throwable?: Nullable<Error>): IdkError;
201
+ static COMMAND_ARG_NOT_SUPPORTED_ERROR(severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, command?: Nullable<any>/* Nullable<BaseCommand<UnknownType *, UnknownType *, UnknownType *>> */, arg?: Nullable<any>, message?: string, throwable?: Nullable<Error>): IdkError;
202
+ static NOT_FOUND_ERROR(severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, resource?: Nullable<string>, message?: string, throwable?: Nullable<Error>): IdkError;
203
+ static COMMAND_DISABLED_ERROR(commandId: string, severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, throwable?: Nullable<Error>): IdkError;
204
+ static COMMAND_SKIPPED_ERROR(commandId: string, reason?: Nullable<string>, severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, throwable?: Nullable<Error>): IdkError;
205
+ static COMMAND_NOT_AUTHORIZED_ERROR(commandId: string, reason: string, actor?: Nullable<string>, severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, throwable?: Nullable<Error>): IdkError;
206
+ static ALL_HANDLERS_FAILED_ERROR(errors: KtList<IdkError>, severity?: IdkError.Severity, throwable?: Nullable<Error>): IdkError;
207
+ static UNAUTHORIZED_ERROR(message?: string, severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, throwable?: Nullable<Error>): IdkError;
208
+ static FORBIDDEN_ERROR(message?: string, severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, throwable?: Nullable<Error>): IdkError;
209
+ static ALREADY_EXISTS_ERROR(severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, resource?: Nullable<string>, message?: string, throwable?: Nullable<Error>): IdkError;
210
+ static INVALID_STATE(severity?: IdkError.Severity, causes?: KtList<IdkErrorType>, message?: string, throwable?: Nullable<Error>): IdkError;
211
+ readonly __doNotUseOrImplementIt: IdkErrorType["__doNotUseOrImplementIt"];
212
+ }
213
+ export declare namespace IdkError {
214
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
215
+ namespace $metadata$ {
216
+ const constructor: abstract new () => IdkError;
217
+ }
218
+ abstract class Severity {
219
+ private constructor();
220
+ static get INFO(): IdkError.Severity & {
221
+ get name(): "INFO";
222
+ get ordinal(): 0;
223
+ };
224
+ static get WARNING(): IdkError.Severity & {
225
+ get name(): "WARNING";
226
+ get ordinal(): 1;
227
+ };
228
+ static get ERROR(): IdkError.Severity & {
229
+ get name(): "ERROR";
230
+ get ordinal(): 2;
231
+ };
232
+ static get FATAL(): IdkError.Severity & {
233
+ get name(): "FATAL";
234
+ get ordinal(): 3;
235
+ };
236
+ static values(): [typeof IdkError.Severity.INFO, typeof IdkError.Severity.WARNING, typeof IdkError.Severity.ERROR, typeof IdkError.Severity.FATAL];
237
+ static valueOf(value: string): IdkError.Severity;
238
+ get name(): "INFO" | "WARNING" | "ERROR" | "FATAL";
239
+ get ordinal(): 0 | 1 | 2 | 3;
240
+ get value(): number;
241
+ isAtLeast(severity: IdkError.Severity): boolean;
242
+ isAtMost(severity: IdkError.Severity): boolean;
243
+ }
244
+ namespace Severity {
245
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
246
+ namespace $metadata$ {
247
+ const constructor: abstract new () => Severity;
248
+ }
249
+ }
250
+ class Message {
251
+ constructor(i18nKey: string, i18nParams: KtMap<string, Nullable<any>> | undefined, defaultMessage: string);
252
+ get i18nKey(): string;
253
+ get i18nParams(): KtMap<string, Nullable<any>>;
254
+ get defaultMessage(): string;
255
+ copy(i18nKey?: string, i18nParams?: KtMap<string, Nullable<any>>, defaultMessage?: string): IdkError.Message;
256
+ toString(): string;
257
+ hashCode(): number;
258
+ equals(other: Nullable<any>): boolean;
259
+ }
260
+ namespace Message {
261
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
262
+ namespace $metadata$ {
263
+ const constructor: abstract new () => Message;
264
+ }
265
+ }
266
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
267
+ private constructor();
268
+ }
269
+ namespace Companion {
270
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
271
+ namespace $metadata$ {
272
+ abstract class constructor {
273
+ private constructor();
274
+ }
275
+ }
276
+ }
277
+ }
278
+ export declare interface ErrorDefinitionType {
279
+ readonly code: string;
280
+ readonly i18nKey: string;
281
+ readonly defaultMessage: string;
282
+ readonly severity: IdkError.Severity;
283
+ asError(i18nParams?: KtMap<string, Nullable<any>>, exception?: Nullable<Error>, causes?: KtList<IdkError>, meta?: KtMap<string, Nullable<any>>, severity?: IdkError.Severity): IdkError;
284
+ asResult(i18nParams?: KtMap<string, Nullable<any>>, exception?: Nullable<Error>, causes?: KtList<IdkError>, meta?: KtMap<string, Nullable<any>>, severity?: IdkError.Severity): IdkResult<never, IdkError>;
285
+ readonly __doNotUseOrImplementIt: {
286
+ readonly "com.sphereon.core.api.error.ErrorDefinitionType": unique symbol;
287
+ };
288
+ }
289
+ export declare const jsonSerializer: {
290
+ get(): any/* Json */;
291
+ };
292
+ export declare abstract class JsonSupport {
293
+ static readonly getInstance: () => typeof JsonSupport.$metadata$.type;
294
+ private constructor();
295
+ }
296
+ export declare namespace JsonSupport {
297
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
298
+ namespace $metadata$ {
299
+ abstract class type extends KtSingleton<constructor>() {
300
+ private constructor();
301
+ }
302
+ abstract class constructor {
303
+ register(registrationId: Nullable<string> | undefined, block: (p0: any/* SerializersModuleBuilder */) => void): void;
304
+ get module(): any/* SerializersModule */;
305
+ get serializer(): any/* Json */;
306
+ private constructor();
307
+ }
308
+ }
309
+ }
310
+ export declare abstract class LogOutputFormat {
311
+ private constructor();
312
+ static get TEXT(): LogOutputFormat & {
313
+ get name(): "TEXT";
314
+ get ordinal(): 0;
315
+ };
316
+ static get JSON(): LogOutputFormat & {
317
+ get name(): "JSON";
318
+ get ordinal(): 1;
319
+ };
320
+ static values(): [typeof LogOutputFormat.TEXT, typeof LogOutputFormat.JSON];
321
+ static valueOf(value: string): LogOutputFormat;
322
+ get name(): "TEXT" | "JSON";
323
+ get ordinal(): 0 | 1;
324
+ }
325
+ export declare namespace LogOutputFormat {
326
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
327
+ namespace $metadata$ {
328
+ const constructor: abstract new () => LogOutputFormat;
329
+ }
330
+ }
331
+ export declare class LogMessage {
332
+ constructor(level: LogLevel | undefined, message: string, tag?: Nullable<string>, exception?: Nullable<Error>, errorResult?: Nullable<IdkResult<never, any /*UnknownType **/>>, metadata?: Nullable<KtMap<string, string>>, timestamp?: bigint);
333
+ get level(): LogLevel;
334
+ get message(): string;
335
+ get tag(): Nullable<string>;
336
+ get exception(): Nullable<Error>;
337
+ get errorResult(): Nullable<IdkResult<never, any /*UnknownType **/>>;
338
+ get metadata(): Nullable<KtMap<string, string>>;
339
+ get timestamp(): bigint;
340
+ copy(level?: LogLevel, message?: string, tag?: Nullable<string>, exception?: Nullable<Error>, errorResult?: Nullable<IdkResult<never, any /*UnknownType **/>>, metadata?: Nullable<KtMap<string, string>>, timestamp?: bigint): LogMessage;
341
+ toString(): string;
342
+ hashCode(): number;
343
+ equals(other: Nullable<any>): boolean;
344
+ }
345
+ export declare namespace LogMessage {
346
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
347
+ namespace $metadata$ {
348
+ const constructor: abstract new () => LogMessage;
349
+ }
350
+ }
351
+ export declare abstract class LogLevel {
352
+ private constructor();
353
+ static get TRACE(): LogLevel & {
354
+ get name(): "TRACE";
355
+ get ordinal(): 0;
356
+ };
357
+ static get DEBUG(): LogLevel & {
358
+ get name(): "DEBUG";
359
+ get ordinal(): 1;
360
+ };
361
+ static get INFO(): LogLevel & {
362
+ get name(): "INFO";
363
+ get ordinal(): 2;
364
+ };
365
+ static get WARN(): LogLevel & {
366
+ get name(): "WARN";
367
+ get ordinal(): 3;
368
+ };
369
+ static get ERROR(): LogLevel & {
370
+ get name(): "ERROR";
371
+ get ordinal(): 4;
372
+ };
373
+ static get OFF(): LogLevel & {
374
+ get name(): "OFF";
375
+ get ordinal(): 5;
376
+ };
377
+ static values(): [typeof LogLevel.TRACE, typeof LogLevel.DEBUG, typeof LogLevel.INFO, typeof LogLevel.WARN, typeof LogLevel.ERROR, typeof LogLevel.OFF];
378
+ static valueOf(value: string): LogLevel;
379
+ get name(): "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "OFF";
380
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
381
+ get value(): number;
382
+ toString(): string;
383
+ }
384
+ export declare namespace LogLevel {
385
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
386
+ namespace $metadata$ {
387
+ const constructor: abstract new () => LogLevel;
388
+ }
389
+ }
390
+ export declare class LoggerConfig {
391
+ constructor(minLevel?: LogLevel, tag?: string, outputFormat?: LogOutputFormat, includeTimestamp?: boolean);
392
+ get minLevel(): LogLevel;
393
+ get tag(): string;
394
+ get outputFormat(): LogOutputFormat;
395
+ get includeTimestamp(): boolean;
396
+ isEnabled(level: LogLevel): boolean;
397
+ disable(): LoggerConfig;
398
+ copy(minLevel?: LogLevel, tag?: string, outputFormat?: LogOutputFormat, includeTimestamp?: boolean): LoggerConfig;
399
+ toString(): string;
400
+ hashCode(): number;
401
+ equals(other: Nullable<any>): boolean;
402
+ static get Disabled(): LoggerConfig;
403
+ static get Debug(): LoggerConfig;
404
+ static get Default(): LoggerConfig;
405
+ static get JsonWithTimestamp(): LoggerConfig;
406
+ }
407
+ export declare namespace LoggerConfig {
408
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
409
+ namespace $metadata$ {
410
+ const constructor: abstract new () => LoggerConfig;
411
+ }
412
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
413
+ private constructor();
414
+ }
415
+ namespace Companion {
416
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
417
+ namespace $metadata$ {
418
+ abstract class constructor {
419
+ private constructor();
420
+ }
421
+ }
422
+ }
423
+ }
424
+ export declare interface BaseChainCommand<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> /* extends BaseCommand<Arg, SuccessResult, ErrorResult> */ {
425
+ readonly next: Nullable<any>/* Nullable<BaseCommand<Arg, SuccessResult, ErrorResult>> */;
426
+ readonly config: IChainCommandConfig;
427
+ readonly __doNotUseOrImplementIt: {
428
+ readonly "com.sphereon.core.api.session.BaseChainCommand": unique symbol;
429
+ };
430
+ }
431
+ export declare interface IChainCommandConfig {
432
+ readonly minExecutions: number;
433
+ readonly maxExecutions: Nullable<number>;
434
+ readonly __doNotUseOrImplementIt: {
435
+ readonly "com.sphereon.core.api.session.IChainCommandConfig": unique symbol;
436
+ };
437
+ }
438
+ export declare interface BasePipelineCommand<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> /* extends BaseCommand<Arg, SuccessResult, ErrorResult> */ {
439
+ readonly commands: KtMutableList<any/* BaseCommand<UnknownType *, UnknownType *, UnknownType *> */>;
440
+ addCommand(filter: any/* BaseCommand<UnknownType *, UnknownType *, UnknownType *> */): BasePipelineCommand<Arg, SuccessResult, ErrorResult>;
441
+ removeCommand(filter: any/* BaseCommand<UnknownType *, UnknownType *, UnknownType *> */): BasePipelineCommand<Arg, SuccessResult, ErrorResult>;
442
+ readonly __doNotUseOrImplementIt: {
443
+ readonly "com.sphereon.core.api.session.BasePipelineCommand": unique symbol;
444
+ };
445
+ }
446
+ export declare interface Command<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> /* extends HasId, BaseCommand<Arg, SuccessResult, ErrorResult> */ {
447
+ readonly isEnabled: boolean;
448
+ readonly subsystem: any/* EventSubsystem */;
449
+ readonly __doNotUseOrImplementIt: {
450
+ readonly "com.sphereon.core.api.session.Command": unique symbol;
451
+ };
452
+ }
453
+ export declare interface ChainCommand<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> extends Command<Arg, SuccessResult, ErrorResult>, BaseChainCommand<Arg, SuccessResult, ErrorResult> {
454
+ readonly __doNotUseOrImplementIt: {
455
+ readonly "com.sphereon.core.api.session.ChainCommand": unique symbol;
456
+ } & BaseChainCommand<any, any, any>["__doNotUseOrImplementIt"] & Command<any, any, any>["__doNotUseOrImplementIt"];
457
+ }
458
+ export declare interface PipelineCommand<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> extends Command<Arg, SuccessResult, ErrorResult>, BasePipelineCommand<Arg, SuccessResult, ErrorResult> {
459
+ readonly __doNotUseOrImplementIt: {
460
+ readonly "com.sphereon.core.api.session.PipelineCommand": unique symbol;
461
+ } & BasePipelineCommand<any, any, any>["__doNotUseOrImplementIt"] & Command<any, any, any>["__doNotUseOrImplementIt"];
462
+ }
463
+ export declare interface MultiService<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> extends PipelineCommand<Arg, SuccessResult, ErrorResult> {
464
+ readonly commands: KtMutableList<Command<Arg, SuccessResult, ErrorResult>>;
465
+ hasId(id: string): boolean;
466
+ getById(id: string): Nullable<Command<Arg, SuccessResult, ErrorResult>>;
467
+ readonly __doNotUseOrImplementIt: {
468
+ readonly "com.sphereon.core.api.session.MultiService": unique symbol;
469
+ } & PipelineCommand<any, any, any>["__doNotUseOrImplementIt"];
470
+ }
471
+ export declare interface ICommandInitExtension<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> {
472
+ beforeInit(service: Command<Arg, SuccessResult, ErrorResult>): void;
473
+ afterInit(service: Command<Arg, SuccessResult, ErrorResult>): void;
474
+ readonly __doNotUseOrImplementIt: {
475
+ readonly "com.sphereon.core.api.session.ICommandInitExtension": unique symbol;
476
+ };
477
+ }
478
+ export declare abstract class CommandExecutionPhase {
479
+ private constructor();
480
+ static get BEFORE(): CommandExecutionPhase & {
481
+ get name(): "BEFORE";
482
+ get ordinal(): 0;
483
+ };
484
+ static get DURING(): CommandExecutionPhase & {
485
+ get name(): "DURING";
486
+ get ordinal(): 1;
487
+ };
488
+ static get AFTER(): CommandExecutionPhase & {
489
+ get name(): "AFTER";
490
+ get ordinal(): 2;
491
+ };
492
+ static values(): [typeof CommandExecutionPhase.BEFORE, typeof CommandExecutionPhase.DURING, typeof CommandExecutionPhase.AFTER];
493
+ static valueOf(value: string): CommandExecutionPhase;
494
+ get name(): "BEFORE" | "DURING" | "AFTER";
495
+ get ordinal(): 0 | 1 | 2;
496
+ }
497
+ export declare namespace CommandExecutionPhase {
498
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
499
+ namespace $metadata$ {
500
+ const constructor: abstract new () => CommandExecutionPhase;
501
+ }
502
+ }
503
+ export declare interface ICommandExecutionExtension<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> {
504
+ beforeExecute(service: Command<Arg, SuccessResult, ErrorResult>, args: Arg): void;
505
+ duringExecute(service: Command<Arg, SuccessResult, ErrorResult>, args: Arg): Arg;
506
+ afterExecute(service: Command<Arg, SuccessResult, ErrorResult>, args: Arg, result: IdkResult<SuccessResult, ErrorResult>): void;
507
+ readonly __doNotUseOrImplementIt: {
508
+ readonly "com.sphereon.core.api.session.ICommandExecutionExtension": unique symbol;
509
+ };
510
+ }
511
+ export declare interface ICommandExecutionListener<Arg extends any, SuccessResult extends any, ErrorResult extends IdkErrorType> {
512
+ onBeforeExecute(serviceId: string, args: Arg): void;
513
+ onDuringExecute(serviceId: string, args: Arg): Arg;
514
+ onAfterExecute(serviceId: string, args: Arg, result: IdkResult<SuccessResult, ErrorResult>): void;
515
+ readonly __doNotUseOrImplementIt: {
516
+ readonly "com.sphereon.core.api.session.ICommandExecutionListener": unique symbol;
517
+ };
518
+ }
519
+ export declare function kmpListOf<T>(elements: Array<T>): KtList<T>;
520
+ export declare function kmpSetOf<T>(elements: Array<T>): KtSet<T>;
521
+ export declare function kmpMapOf<K, V>(): KtMutableMap<K, V>;
522
+ export declare class LocalDateTimeKMP /* implements Comparable<LocalDateTimeKMP> */ {
523
+ constructor(year: number, month: number, day: number, hour: number, minute: number, second?: number, nanosecond?: number);
524
+ get year(): number;
525
+ get month(): number;
526
+ get day(): number;
527
+ get hour(): number;
528
+ get minute(): number;
529
+ get second(): number;
530
+ get nanosecond(): number;
531
+ toMdocTdateString(): string;
532
+ toString(): string;
533
+ toEpochSeconds(timeZoneId?: Nullable<string>): bigint;
534
+ toInstant(utils?: DateTimeUtils, timeZoneId?: Nullable<string>): any/* Instant */;
535
+ static now(): LocalDateTimeKMP;
536
+ static nowWithTimezone(utils?: DateTimeUtils, timeZoneId?: Nullable<string>): LocalDateTimeKMP;
537
+ static fromString(value: string): LocalDateTimeKMP;
538
+ }
539
+ export declare namespace LocalDateTimeKMP {
540
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
541
+ namespace $metadata$ {
542
+ const constructor: abstract new () => LocalDateTimeKMP;
543
+ }
544
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
545
+ private constructor();
546
+ }
547
+ namespace Companion {
548
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
549
+ namespace $metadata$ {
550
+ abstract class constructor {
551
+ private constructor();
552
+ }
553
+ }
554
+ }
555
+ }
556
+ export declare class DateTimeUtils {
557
+ constructor(clock?: any/* Clock */, timeZoneId?: string);
558
+ get clock(): any/* Clock */;
559
+ set clock(value: any/* Clock */);
560
+ get timeZoneId(): string;
561
+ set timeZoneId(value: string);
562
+ epochSeconds(): number;
563
+ dateTimeUTC(epochSeconds?: Nullable<number>): LocalDateTimeKMP;
564
+ dateTimeLocal(epochSeconds?: Nullable<number>): LocalDateTimeKMP;
565
+ dateTime(timeZoneId?: Nullable<string>, epochSeconds?: Nullable<number>): LocalDateTimeKMP;
566
+ dateLocalISO(epochSeconds?: Nullable<number>): string;
567
+ dateISO(timeZoneId: Nullable<string>, epochSeconds?: Nullable<number>): string;
568
+ timeZone(timeZoneId: Nullable<string>): any/* TimeZone */;
569
+ static get DEFAULTS(): DateTimeUtils;
570
+ }
571
+ export declare namespace DateTimeUtils {
572
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
573
+ namespace $metadata$ {
574
+ const constructor: abstract new () => DateTimeUtils;
575
+ }
576
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
577
+ private constructor();
578
+ }
579
+ namespace Companion {
580
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
581
+ namespace $metadata$ {
582
+ abstract class constructor {
583
+ private constructor();
584
+ }
585
+ }
586
+ }
587
+ }
588
+ export declare abstract class DateTimeUtilsDefault {
589
+ static readonly getInstance: () => typeof DateTimeUtilsDefault.$metadata$.type;
590
+ private constructor();
591
+ }
592
+ export declare namespace DateTimeUtilsDefault {
593
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
594
+ namespace $metadata$ {
595
+ abstract class type extends KtSingleton<constructor>() {
596
+ private constructor();
597
+ }
598
+ abstract class constructor {
599
+ get INSTANCE(): DateTimeUtils;
600
+ private constructor();
601
+ }
602
+ }
603
+ }
604
+ export declare abstract class Uuid {
605
+ static readonly getInstance: () => typeof Uuid.$metadata$.type;
606
+ private constructor();
607
+ }
608
+ export declare namespace Uuid {
609
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
610
+ namespace $metadata$ {
611
+ abstract class type extends KtSingleton<constructor>() {
612
+ private constructor();
613
+ }
614
+ abstract class constructor {
615
+ v4(): any/* Uuid */;
616
+ v4String(): string;
617
+ private constructor();
618
+ }
619
+ }
620
+ }
621
+ export declare class TenantContextDataImpl implements TenantContextData {
622
+ constructor(tenantId: string);
623
+ get tenantId(): string;
624
+ toString(): string;
625
+ equals(other: Nullable<any>): boolean;
626
+ hashCode(): number;
627
+ readonly __doNotUseOrImplementIt: TenantContextData["__doNotUseOrImplementIt"];
628
+ }
629
+ export declare namespace TenantContextDataImpl {
630
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
631
+ namespace $metadata$ {
632
+ const constructor: abstract new () => TenantContextDataImpl;
633
+ }
634
+ }
635
+ export declare interface UserContext extends TenantAware, PrincipalAware {
636
+ readonly id: string;
637
+ readonly secureDetails: Nullable<SecuredTenantContextDetails>;
638
+ readonly __doNotUseOrImplementIt: {
639
+ readonly "com.sphereon.di.context.UserContext": unique symbol;
640
+ } & PrincipalAware["__doNotUseOrImplementIt"] & TenantAware["__doNotUseOrImplementIt"];
641
+ }
642
+ export declare namespace UserContext {
643
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
644
+ private constructor();
645
+ }
646
+ namespace Companion {
647
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
648
+ namespace $metadata$ {
649
+ abstract class constructor {
650
+ get BACKGROUND_SERVICE(): string;
651
+ get ANONYMOUS(): string;
652
+ private constructor();
653
+ }
654
+ }
655
+ }
656
+ }
657
+ export declare interface SecuredTenantContextDetails {
658
+ readonly validFrom: bigint;
659
+ readonly validUntil: bigint;
660
+ readonly iss: string;
661
+ readonly jwt: string;
662
+ readonly __doNotUseOrImplementIt: {
663
+ readonly "com.sphereon.di.context.SecuredTenantContextDetails": unique symbol;
664
+ };
665
+ }
666
+ export declare interface UserSecuredContext extends UserContext {
667
+ readonly secureDetails: SecuredTenantContextDetails;
668
+ readonly __doNotUseOrImplementIt: {
669
+ readonly "com.sphereon.di.context.UserSecuredContext": unique symbol;
670
+ } & UserContext["__doNotUseOrImplementIt"];
671
+ }
672
+ export declare interface ContextAware {
673
+ readonly context: UserContext;
674
+ readonly __doNotUseOrImplementIt: {
675
+ readonly "com.sphereon.di.context.ContextAware": unique symbol;
676
+ };
677
+ }
678
+ export declare interface TenantAware {
679
+ readonly tenant: TenantContextData;
680
+ readonly __doNotUseOrImplementIt: {
681
+ readonly "com.sphereon.di.context.TenantAware": unique symbol;
682
+ };
683
+ }
684
+ export declare interface PrincipalAware {
685
+ readonly principal: Nullable<any>;
686
+ readonly __doNotUseOrImplementIt: {
687
+ readonly "com.sphereon.di.context.PrincipalAware": unique symbol;
688
+ };
689
+ }
690
+ export declare interface TenantContextData {
691
+ readonly tenantId: string;
692
+ readonly __doNotUseOrImplementIt: {
693
+ readonly "com.sphereon.di.context.TenantContextData": unique symbol;
694
+ };
695
+ }
696
+ export declare abstract class UserScope {
697
+ }
698
+ export declare namespace UserScope {
699
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
700
+ namespace $metadata$ {
701
+ const constructor: abstract new () => UserScope;
702
+ }
703
+ }
704
+ export declare interface ISessionContextAware {
705
+ readonly sessionContext: ContextAware/* SessionContext */;
706
+ readonly __doNotUseOrImplementIt: {
707
+ readonly "com.sphereon.di.session.ISessionContextAware": unique symbol;
708
+ };
709
+ }
710
+ export declare abstract class SessionScope {
711
+ }
712
+ export declare namespace SessionScope {
713
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
714
+ namespace $metadata$ {
715
+ const constructor: abstract new () => SessionScope;
716
+ }
717
+ }
718
+ export declare interface PromptRegistry {
719
+ validatePairing(request: PromptRequest, response: PromptResponse): Nullable<string>;
720
+ isRequestTypeRegistered(request: PromptRequest): boolean;
721
+ getExpectedResponseType(request: PromptRequest): Nullable<string>;
722
+ readonly __doNotUseOrImplementIt: {
723
+ readonly "com.sphereon.ui.prompt.coordinator.PromptRegistry": unique symbol;
724
+ };
725
+ }
726
+ export declare abstract class CancelReason {
727
+ private constructor();
728
+ static get USER(): CancelReason & {
729
+ get name(): "USER";
730
+ get ordinal(): 0;
731
+ };
732
+ static get SUPERSEDED(): CancelReason & {
733
+ get name(): "SUPERSEDED";
734
+ get ordinal(): 1;
735
+ };
736
+ static get BACKGROUND(): CancelReason & {
737
+ get name(): "BACKGROUND";
738
+ get ordinal(): 2;
739
+ };
740
+ static get SYSTEM(): CancelReason & {
741
+ get name(): "SYSTEM";
742
+ get ordinal(): 3;
743
+ };
744
+ static values(): [typeof CancelReason.USER, typeof CancelReason.SUPERSEDED, typeof CancelReason.BACKGROUND, typeof CancelReason.SYSTEM];
745
+ static valueOf(value: string): CancelReason;
746
+ get name(): "USER" | "SUPERSEDED" | "BACKGROUND" | "SYSTEM";
747
+ get ordinal(): 0 | 1 | 2 | 3;
748
+ }
749
+ export declare namespace CancelReason {
750
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
751
+ namespace $metadata$ {
752
+ const constructor: abstract new () => CancelReason;
753
+ }
754
+ }
755
+ export declare class PromptPresentationHint {
756
+ constructor(priority?: PromptPriority, deferUntilForeground?: boolean, timeout?: Nullable<any>/* Nullable<Duration> */, dismissOnBackground?: boolean, showOverLockScreen?: boolean);
757
+ get priority(): PromptPriority;
758
+ get deferUntilForeground(): boolean;
759
+ get timeout(): Nullable<any>/* Nullable<Duration> */;
760
+ get dismissOnBackground(): boolean;
761
+ get showOverLockScreen(): boolean;
762
+ copy(priority?: PromptPriority, deferUntilForeground?: boolean, timeout?: Nullable<any>/* Nullable<Duration> */, dismissOnBackground?: boolean, showOverLockScreen?: boolean): PromptPresentationHint;
763
+ toString(): string;
764
+ hashCode(): number;
765
+ equals(other: Nullable<any>): boolean;
766
+ }
767
+ export declare namespace PromptPresentationHint {
768
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
769
+ namespace $metadata$ {
770
+ const constructor: abstract new () => PromptPresentationHint;
771
+ }
772
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
773
+ private constructor();
774
+ }
775
+ namespace Companion {
776
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
777
+ namespace $metadata$ {
778
+ abstract class constructor {
779
+ get DEFAULT(): PromptPresentationHint;
780
+ get CRITICAL(): PromptPresentationHint;
781
+ get DEFERRED(): PromptPresentationHint;
782
+ private constructor();
783
+ }
784
+ }
785
+ }
786
+ }
787
+ export declare abstract class PromptPriority {
788
+ private constructor();
789
+ static get CRITICAL(): PromptPriority & {
790
+ get name(): "CRITICAL";
791
+ get ordinal(): 0;
792
+ };
793
+ static get HIGH(): PromptPriority & {
794
+ get name(): "HIGH";
795
+ get ordinal(): 1;
796
+ };
797
+ static get NORMAL(): PromptPriority & {
798
+ get name(): "NORMAL";
799
+ get ordinal(): 2;
800
+ };
801
+ static get LOW(): PromptPriority & {
802
+ get name(): "LOW";
803
+ get ordinal(): 3;
804
+ };
805
+ static get BACKGROUND(): PromptPriority & {
806
+ get name(): "BACKGROUND";
807
+ get ordinal(): 4;
808
+ };
809
+ static values(): [typeof PromptPriority.CRITICAL, typeof PromptPriority.HIGH, typeof PromptPriority.NORMAL, typeof PromptPriority.LOW, typeof PromptPriority.BACKGROUND];
810
+ static valueOf(value: string): PromptPriority;
811
+ get name(): "CRITICAL" | "HIGH" | "NORMAL" | "LOW" | "BACKGROUND";
812
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
813
+ get order(): number;
814
+ isHigherThan(other: PromptPriority): boolean;
815
+ isAtLeast(other: PromptPriority): boolean;
816
+ }
817
+ export declare namespace PromptPriority {
818
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
819
+ namespace $metadata$ {
820
+ const constructor: abstract new () => PromptPriority;
821
+ }
822
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
823
+ private constructor();
824
+ }
825
+ namespace Companion {
826
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
827
+ namespace $metadata$ {
828
+ abstract class constructor {
829
+ sortedByPriority(): KtList<PromptPriority>;
830
+ private constructor();
831
+ }
832
+ }
833
+ }
834
+ }
835
+ export declare interface PromptRequest {
836
+ readonly id: any/* PromptId */;
837
+ readonly presentationHint: PromptPresentationHint;
838
+ readonly __doNotUseOrImplementIt: {
839
+ readonly "com.sphereon.ui.prompt.core.PromptRequest": unique symbol;
840
+ };
841
+ }
842
+ export declare interface SinglePromptRequest extends PromptRequest {
843
+ readonly show: boolean;
844
+ readonly title: string;
845
+ readonly subtitle: Nullable<string>;
846
+ readonly __doNotUseOrImplementIt: {
847
+ readonly "com.sphereon.ui.prompt.core.SinglePromptRequest": unique symbol;
848
+ } & PromptRequest["__doNotUseOrImplementIt"];
849
+ }
850
+ export declare class NfcPromptRequest implements SinglePromptRequest {
851
+ constructor(id: any/* PromptId */ | undefined, title: string, subtitle: Nullable<string> | undefined, show: boolean | undefined, presentationHint: PromptPresentationHint | undefined, initialMessage: string, successMessage?: Nullable<string>, errorMessage?: Nullable<string>);
852
+ get id(): any/* PromptId */;
853
+ get title(): string;
854
+ get subtitle(): Nullable<string>;
855
+ get show(): boolean;
856
+ get presentationHint(): PromptPresentationHint;
857
+ get initialMessage(): string;
858
+ get successMessage(): Nullable<string>;
859
+ get errorMessage(): Nullable<string>;
860
+ copy(id?: any/* PromptId */, title?: string, subtitle?: Nullable<string>, show?: boolean, presentationHint?: PromptPresentationHint, initialMessage?: string, successMessage?: Nullable<string>, errorMessage?: Nullable<string>): NfcPromptRequest;
861
+ toString(): string;
862
+ hashCode(): number;
863
+ equals(other: Nullable<any>): boolean;
864
+ readonly __doNotUseOrImplementIt: SinglePromptRequest["__doNotUseOrImplementIt"];
865
+ }
866
+ export declare namespace NfcPromptRequest {
867
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
868
+ namespace $metadata$ {
869
+ const constructor: abstract new () => NfcPromptRequest;
870
+ }
871
+ }
872
+ export declare class BiometricPromptRequest implements SinglePromptRequest {
873
+ constructor(id: any/* PromptId */ | undefined, title: string, subtitle: Nullable<string> | undefined, show: boolean | undefined, presentationHint: PromptPresentationHint | undefined, reason: string, fallbackToPasscode?: boolean);
874
+ get id(): any/* PromptId */;
875
+ get title(): string;
876
+ get subtitle(): Nullable<string>;
877
+ get show(): boolean;
878
+ get presentationHint(): PromptPresentationHint;
879
+ get reason(): string;
880
+ get fallbackToPasscode(): boolean;
881
+ copy(id?: any/* PromptId */, title?: string, subtitle?: Nullable<string>, show?: boolean, presentationHint?: PromptPresentationHint, reason?: string, fallbackToPasscode?: boolean): BiometricPromptRequest;
882
+ toString(): string;
883
+ hashCode(): number;
884
+ equals(other: Nullable<any>): boolean;
885
+ readonly __doNotUseOrImplementIt: SinglePromptRequest["__doNotUseOrImplementIt"];
886
+ }
887
+ export declare namespace BiometricPromptRequest {
888
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
889
+ namespace $metadata$ {
890
+ const constructor: abstract new () => BiometricPromptRequest;
891
+ }
892
+ }
893
+ export declare class BiometricUnlockPromptRequest implements SinglePromptRequest {
894
+ constructor(id: any/* PromptId */ | undefined, title: string, subtitle: Nullable<string> | undefined, show: boolean | undefined, presentationHint: PromptPresentationHint | undefined, keyId: string, reason: string, fallbackToPasscode?: boolean);
895
+ get id(): any/* PromptId */;
896
+ get title(): string;
897
+ get subtitle(): Nullable<string>;
898
+ get show(): boolean;
899
+ get presentationHint(): PromptPresentationHint;
900
+ get keyId(): string;
901
+ get reason(): string;
902
+ get fallbackToPasscode(): boolean;
903
+ copy(id?: any/* PromptId */, title?: string, subtitle?: Nullable<string>, show?: boolean, presentationHint?: PromptPresentationHint, keyId?: string, reason?: string, fallbackToPasscode?: boolean): BiometricUnlockPromptRequest;
904
+ toString(): string;
905
+ hashCode(): number;
906
+ equals(other: Nullable<any>): boolean;
907
+ readonly __doNotUseOrImplementIt: SinglePromptRequest["__doNotUseOrImplementIt"];
908
+ }
909
+ export declare namespace BiometricUnlockPromptRequest {
910
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
911
+ namespace $metadata$ {
912
+ const constructor: abstract new () => BiometricUnlockPromptRequest;
913
+ }
914
+ }
915
+ export declare class PassphrasePromptRequest implements SinglePromptRequest {
916
+ constructor(id: any/* PromptId */ | undefined, title: string, subtitle: Nullable<string> | undefined, show: boolean | undefined, presentationHint: PromptPresentationHint | undefined, purpose: string, minLength?: number, maxLength?: Nullable<number>, isNumericOnly?: boolean);
917
+ get id(): any/* PromptId */;
918
+ get title(): string;
919
+ get subtitle(): Nullable<string>;
920
+ get show(): boolean;
921
+ get presentationHint(): PromptPresentationHint;
922
+ get purpose(): string;
923
+ get minLength(): number;
924
+ get maxLength(): Nullable<number>;
925
+ get isNumericOnly(): boolean;
926
+ copy(id?: any/* PromptId */, title?: string, subtitle?: Nullable<string>, show?: boolean, presentationHint?: PromptPresentationHint, purpose?: string, minLength?: number, maxLength?: Nullable<number>, isNumericOnly?: boolean): PassphrasePromptRequest;
927
+ toString(): string;
928
+ hashCode(): number;
929
+ equals(other: Nullable<any>): boolean;
930
+ readonly __doNotUseOrImplementIt: SinglePromptRequest["__doNotUseOrImplementIt"];
931
+ }
932
+ export declare namespace PassphrasePromptRequest {
933
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
934
+ namespace $metadata$ {
935
+ const constructor: abstract new () => PassphrasePromptRequest;
936
+ }
937
+ }
938
+ export declare class ConfirmationPromptRequest implements SinglePromptRequest {
939
+ constructor(id: any/* PromptId */ | undefined, title: string, subtitle: Nullable<string> | undefined, show: boolean | undefined, presentationHint: PromptPresentationHint | undefined, message: string, confirmText?: string, cancelText?: string, isDestructive?: boolean);
940
+ get id(): any/* PromptId */;
941
+ get title(): string;
942
+ get subtitle(): Nullable<string>;
943
+ get show(): boolean;
944
+ get presentationHint(): PromptPresentationHint;
945
+ get message(): string;
946
+ get confirmText(): string;
947
+ get cancelText(): string;
948
+ get isDestructive(): boolean;
949
+ copy(id?: any/* PromptId */, title?: string, subtitle?: Nullable<string>, show?: boolean, presentationHint?: PromptPresentationHint, message?: string, confirmText?: string, cancelText?: string, isDestructive?: boolean): ConfirmationPromptRequest;
950
+ toString(): string;
951
+ hashCode(): number;
952
+ equals(other: Nullable<any>): boolean;
953
+ readonly __doNotUseOrImplementIt: SinglePromptRequest["__doNotUseOrImplementIt"];
954
+ }
955
+ export declare namespace ConfirmationPromptRequest {
956
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
957
+ namespace $metadata$ {
958
+ const constructor: abstract new () => ConfirmationPromptRequest;
959
+ }
960
+ }
961
+ export declare interface PromptResponse {
962
+ readonly promptId: any/* PromptId */;
963
+ readonly state: PromptState;
964
+ readonly __doNotUseOrImplementIt: {
965
+ readonly "com.sphereon.ui.prompt.core.PromptResponse": unique symbol;
966
+ };
967
+ }
968
+ export declare abstract class PromptState {
969
+ private constructor();
970
+ static get PENDING(): PromptState & {
971
+ get name(): "PENDING";
972
+ get ordinal(): 0;
973
+ };
974
+ static get ACTIVE(): PromptState & {
975
+ get name(): "ACTIVE";
976
+ get ordinal(): 1;
977
+ };
978
+ static get SUCCESS(): PromptState & {
979
+ get name(): "SUCCESS";
980
+ get ordinal(): 2;
981
+ };
982
+ static get CANCELLED(): PromptState & {
983
+ get name(): "CANCELLED";
984
+ get ordinal(): 3;
985
+ };
986
+ static get TIMED_OUT(): PromptState & {
987
+ get name(): "TIMED_OUT";
988
+ get ordinal(): 4;
989
+ };
990
+ static get ERROR(): PromptState & {
991
+ get name(): "ERROR";
992
+ get ordinal(): 5;
993
+ };
994
+ static values(): [typeof PromptState.PENDING, typeof PromptState.ACTIVE, typeof PromptState.SUCCESS, typeof PromptState.CANCELLED, typeof PromptState.TIMED_OUT, typeof PromptState.ERROR];
995
+ static valueOf(value: string): PromptState;
996
+ get name(): "PENDING" | "ACTIVE" | "SUCCESS" | "CANCELLED" | "TIMED_OUT" | "ERROR";
997
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
998
+ get isTerminal(): boolean;
999
+ get isActive(): boolean;
1000
+ get isPending(): boolean;
1001
+ }
1002
+ export declare namespace PromptState {
1003
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1004
+ namespace $metadata$ {
1005
+ const constructor: abstract new () => PromptState;
1006
+ }
1007
+ }
1008
+ export declare abstract class ForegroundState {
1009
+ private constructor();
1010
+ static get FOREGROUND(): ForegroundState & {
1011
+ get name(): "FOREGROUND";
1012
+ get ordinal(): 0;
1013
+ };
1014
+ static get BACKGROUND(): ForegroundState & {
1015
+ get name(): "BACKGROUND";
1016
+ get ordinal(): 1;
1017
+ };
1018
+ static get UNKNOWN(): ForegroundState & {
1019
+ get name(): "UNKNOWN";
1020
+ get ordinal(): 2;
1021
+ };
1022
+ static values(): [typeof ForegroundState.FOREGROUND, typeof ForegroundState.BACKGROUND, typeof ForegroundState.UNKNOWN];
1023
+ static valueOf(value: string): ForegroundState;
1024
+ get name(): "FOREGROUND" | "BACKGROUND" | "UNKNOWN";
1025
+ get ordinal(): 0 | 1 | 2;
1026
+ }
1027
+ export declare namespace ForegroundState {
1028
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1029
+ namespace $metadata$ {
1030
+ const constructor: abstract new () => ForegroundState;
1031
+ }
1032
+ }
1033
+ export declare interface PromptPresenter {
1034
+ readonly foregroundState: any/* StateFlow<ForegroundState> */;
1035
+ readonly canPresentPrompts: boolean;
1036
+ onForeground(): void;
1037
+ onBackground(): void;
1038
+ shouldDeferPrompt(request: PromptRequest): boolean;
1039
+ readonly __doNotUseOrImplementIt: {
1040
+ readonly "com.sphereon.ui.prompt.presenter.PromptPresenter": unique symbol;
1041
+ };
1042
+ }
1043
+ export declare interface WizardStep {
1044
+ readonly id: string;
1045
+ readonly isFinal: boolean;
1046
+ readonly data: Nullable<any>;
1047
+ readonly __doNotUseOrImplementIt: {
1048
+ readonly "com.sphereon.ui.prompt.wizard.WizardStep": unique symbol;
1049
+ };
1050
+ }
1051
+ /** @deprecated */
1052
+ export declare const initHook: {
1053
+ get(): any;
1054
+ };