import { PrivateKey, PublicKey } from '@wharfkit/antelope';
import { KeyManager, KeyManagerLevel } from '../storage/keymanager';
import { Signer } from 'did-jwt';
export declare function randomBytes(bytes: number): Uint8Array;
export declare function randomNumber(min: number, max: number): number;
export declare function createSigner(privateKey: PrivateKey): Signer;
export declare function randomString(bytes: number): string;
export declare function sha256(digest: string): string;
export declare function int2hex(i: number): string;
export declare function encodeHex(str: string): string;
export declare function generateRandomKeyPair(): {
    privateKey: PrivateKey;
    publicKey: PublicKey;
};
export declare function createVCSigner(keyManager: KeyManager, level: KeyManagerLevel): {
    sign(data: string): Promise<string | import("@wharfkit/antelope").Signature>;
};
//# sourceMappingURL=crypto.d.ts.map