import { ISerializable, Serializable } from "@js-soft/ts-serval"; import { CoreAddress, CoreDate, CoreId, ICoreId } from "@nmshd/core-types"; export interface IChallenge extends ISerializable { id: ICoreId; expiresAt: CoreDate; createdBy?: CoreAddress; createdByDevice?: CoreId; type: ChallengeType; } export declare enum ChallengeType { Identity = "Identity", Device = "Device", Relationship = "Relationship" } export declare class Challenge extends Serializable implements IChallenge { id: CoreId; expiresAt: CoreDate; createdBy?: CoreAddress; createdByDevice?: CoreId; type: ChallengeType; static from(value: IChallenge): Challenge; } //# sourceMappingURL=Challenge.d.ts.map