/** * @packageDocumentation * @module KeyVM-Interfaces */ export interface DistributedKey { id: string; name: string; algorithm: string; publicKey: string; threshold: number; totalShares: number; shareIds: string[]; status: string; created: string; } export interface CreateKeyParams { name: string; algorithm: string; threshold: number; totalShares: number; } export interface CreateKeyResponse { id: string; name: string; algorithm: string; publicKey: string; shareIds: string[]; } export interface ListKeysParams { algorithm?: string; status?: string; offset?: number; limit?: number; } export interface ListKeysResponse { keys: DistributedKey[]; total: number; } export interface EncryptParams { keyId: string; plaintext: string; } export interface EncryptResponse { ciphertext: string; nonce: string; tag: string; } export interface CryptoAlgorithm { name: string; type: string; keySize: number; postQuantum: boolean; description: string; } export interface KeyVMHealthResponse { healthy: boolean; keyCount: number; connectedValidators: number; } //# sourceMappingURL=interfaces.d.ts.map