import { ISerializable, Serializable } from "@js-soft/ts-serval"; import { CoreDate, CoreId, ICoreId } from "@nmshd/core-types"; import { CryptoSecretKey, CryptoSignaturePrivateKey, ICryptoSecretKey, ICryptoSignaturePrivateKey } from "@nmshd/crypto"; import { Identity, IIdentity } from "../../accounts/data/Identity"; export interface IDeviceSharedSecret extends ISerializable { id: ICoreId; createdAt: CoreDate; createdByDevice: CoreId; name?: string; description?: string; profileName?: string; secretBaseKey: CryptoSecretKey; deviceIndex: number; synchronizationKey: ICryptoSecretKey; identityPrivateKey?: ICryptoSignaturePrivateKey; identity: IIdentity; password: string; username: string; isBackupDevice: boolean; } export declare class DeviceSharedSecret extends Serializable implements IDeviceSharedSecret { id: CoreId; createdByDevice: CoreId; createdAt: CoreDate; name?: string; description?: string; profileName?: string; synchronizationKey: CryptoSecretKey; secretBaseKey: CryptoSecretKey; deviceIndex: number; identityPrivateKey?: CryptoSignaturePrivateKey; identity: Identity; username: string; password: string; isBackupDevice: boolean; static preFrom(value: any): any; static from(value: IDeviceSharedSecret): DeviceSharedSecret; } //# sourceMappingURL=DeviceSharedSecret.d.ts.map