import * as BN from 'bn.js';
/**
 * Calculate primes using e, d, and n.
 * @param e
 * @param d
 * @param n
 * @return the two primes used. p will be greater than q.
 */
export declare function factor(e: any, d: any, n: any): {
    p: BN;
    q: BN;
};
