export declare function SafeshareLegacy(): {
    init: (bits: any, rngType: any) => void;
    seedRNG: (data: any, estimatedEntropy: any, source: any) => void;
    combine: (shares: any, at: any) => string;
    getConfig: () => {};
    extractShareComponents: (share: any) => {};
    setRNG: (rng: any) => boolean;
    str2hex: (str: any, bytesPerChar: any) => string;
    hex2str: (str: any, bytesPerChar: any) => string;
    random: (bits: any) => string;
    share: (secret: any, numShares: any, threshold: any, padLength: any) => any[];
    newShare: (id: any, shares: any) => any;
    _reset: () => void;
    _padLeft: (str: any, multipleOfBits: any) => any;
    _hex2bin: (str: any) => string;
    _bin2hex: (str: any) => string;
    _hasCryptoGetRandomValues: () => boolean;
    _hasCryptoRandomBytes: () => boolean;
    _hasSJCL: () => boolean;
    _getRNG: (type: any) => ((bits: any) => null) | undefined;
    _isSetRNG: () => boolean;
    _splitNumStringToIntArray: (str: any, padLength: any) => never[];
    _horner: (x: any, coeffs: any) => number;
    _lagrange: (at: any, x: any, y: any) => number;
    _getShares: (secret: any, numShares: any, threshold: any) => never[];
    _constructPublicShareString: (bits: any, id: any, data: any) => any;
};
export declare function splitSecret(secret: any, numShares: any, threshold: any): any[];
export declare function combineShares(shares: any): string;
