///
import { Readable, Writable } from "stream";
import { PathOrFileDescriptor } from "fs";
export declare class Crypto {
static encrypt(data: T, password: string, writable: Writable | PathOrFileDescriptor): Promise;
static decrypt(password: string, readable: Readable | PathOrFileDescriptor): Promise;
}