import { CoreDate, CoreId } from "@nmshd/core-types"; import { CryptoSignaturePublicKey, ICryptoSignaturePublicKey } from "@nmshd/crypto"; import { CoreSynchronizable, ICoreSynchronizable } from "../../../core"; export declare enum DeviceType { "Unknown" = 0, "Phone" = 1, "Tablet" = 2, "Desktop" = 3, "Connector" = 4 } export interface DeviceInfo { operatingSystem: string; type: DeviceType; } export interface IDevice extends ICoreSynchronizable { isAdmin?: boolean; publicKey?: ICryptoSignaturePublicKey; name?: string; description?: string; createdAt: CoreDate; createdByDevice: CoreId; operatingSystem?: string; lastLoginAt?: CoreDate; type: DeviceType; username: string; initialPassword?: string; datawalletVersion?: number; isOffboarded?: boolean; isBackupDevice: boolean; } export declare class Device extends CoreSynchronizable implements IDevice { readonly technicalProperties: string[]; readonly userdataProperties: string[]; publicKey?: CryptoSignaturePublicKey; name?: string; description?: string; operatingSystem?: string; createdAt: CoreDate; createdByDevice: CoreId; lastLoginAt?: CoreDate; type: DeviceType; username: string; initialPassword?: string; isAdmin?: boolean; datawalletVersion?: number; isOffboarded?: boolean; isBackupDevice: boolean; protected static preFrom(value: any): any; static from(value: IDevice): Device; } //# sourceMappingURL=Device.d.ts.map