import { Algorithm } from './crypt'; import { Share, ThresholdAlgorithm } from 'common/common'; interface Part { part: Uint8Array; length: number; } declare class Ed25519ThresholdV0Share implements Share { index: number; parts: Part[]; constructor(content: Uint8Array); getAlgorithm(): Algorithm; serialize(): Uint8Array; } declare class Ed25519ThresholdV0 implements ThresholdAlgorithm { getName(): Algorithm; dealShares(_secret: Uint8Array): Share[]; combineShares(_shares: Share[]): Uint8Array; } export { Ed25519ThresholdV0, Ed25519ThresholdV0Share };