/// import * as crypto from 'crypto'; import { CryptoCipher, CipherMode, HashAlgorithm } from './types'; export declare const ACCESS: unique symbol; export declare class Key { #private; constructor(access: typeof ACCESS, key: crypto.KeyObject); extract(access: typeof ACCESS): crypto.KeyObject; } export declare const HEADER: Buffer; export declare function cipherChoice(input?: CryptoCipher, mode?: CipherMode): string; export declare function hash(data: string | Uint8Array | Iterable | AsyncIterable, algorithm?: HashAlgorithm): Promise; export declare function random(length: number): Promise;