export declare function randomBytes(length: number, shouldReturnHex?: never): Promise<Buffer>;
export declare function randomBytes(length: number, shouldReturnHex: true): Promise<string>;
export declare function randomBytesSync(length: number, shouldReturnHex?: never): Buffer;
export declare function randomBytesSync(length: number, shouldReturnHex: true): string;
export declare const PrintableCharacters: string;
export declare const AlphanumericCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
export declare const UpperCaseAlphanumericCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
export declare const NumericCharacters = "0123456789";
export declare function randomString(length: number, source?: string): Promise<string>;
export declare function randomStringSync(length: number, source?: string): string;
export declare class Crypto {
    static encrypt(data: string): string;
    static encrypt(data: Buffer): Buffer;
    static decrypt(data: string): string;
    static decrypt(data: Buffer): Buffer;
    private static instance;
    private static getInstance;
    private key;
    private ivLength;
    constructor();
    encrypt(data: string): string;
    encrypt(data: Buffer): Buffer;
    decrypt(data: string): string;
    decrypt(data: Buffer): Buffer;
}
//# sourceMappingURL=crypto.d.ts.map