import { WasmInstance } from "../wasm";
export declare let wasm: WasmInstance | undefined;
export declare function init(): Promise<void>;
export declare class IntegerClass {
    i: number;
    constructor(n: number | string | null, i?: number, base?: number);
    __add__(m: IntegerClass): IntegerClass;
    __sub__(m: IntegerClass): IntegerClass;
    __mul__(m: IntegerClass): IntegerClass;
    __pow__(e: number): IntegerClass;
    eql(m: IntegerClass): boolean;
    cmp(m: IntegerClass): number;
    print(): void;
    nextPrime(): IntegerClass;
    isPseudoPrime(): any;
    toString(base?: number): string;
    numDigits(base?: number): string;
}
export default function Integer(n: number | string, base?: number): IntegerClass;
