/** * @packageDocumentation * @module ThresholdVM-Interfaces */ export interface KeygenParams { protocol: string; threshold: number; totalParties: number; chainId?: string; } export interface KeygenResult { sessionId: string; keyId: string; protocol: string; status: string; threshold: number; totalParties: number; } export interface KeygenStatusParams { sessionId: string; } export interface SignParams { keyId: string; message: string; chainId?: string; } export interface SignResult { sessionId: string; keyId: string; status: string; requestingChain: string; } export interface GetSignatureParams { sessionId: string; } export interface SignatureResult { sessionId: string; status: string; signature: string; r: string; s: string; v: number; signerParties: number[]; } export interface BatchSignParams { keyId: string; messages: string[]; } export interface ReshareParams { keyId: string; newThreshold?: number; newTotalParties?: number; } export interface RefreshParams { keyId: string; } export interface ThresholdKey { id: string; protocol: string; publicKey: string; address: string; threshold: number; totalParties: number; created: string; status: string; } export interface ProtocolInfo { name: string; description: string; curveType: string; minThreshold: number; maxParties: number; } export interface Session { id: string; type: string; keyId: string; chainId: string; status: string; created: string; parties: number[]; } export interface SessionsParams { chainId?: string; status?: string; } export interface ThresholdInfo { nodeId: string; protocols: string[]; activeSessions: number; totalKeys: number; } export interface ThresholdStats { totalKeys: number; totalSessions: number; signaturesGenerated: number; avgSignTime: number; } export interface PartyInfo { nodeId: string; connected: boolean; protocols: string[]; } export interface QuotaInfo { daily: number; used: number; remaining: number; } export interface ChainPermission { chainId: string; allowed: boolean; maxSignsPerDay: number; } export interface ThresholdHealthResponse { healthy: boolean; connectedParties: number; totalKeys: number; } //# sourceMappingURL=interfaces.d.ts.map