/** works in browser and node.js (using crypto.subtle) */ export declare function hashAsync(message: string | BufferSource, options?: { algorithm?: { name: string; } | string; outputFormat: 'hex'; }): Promise; export declare function hashAsync(message: string | BufferSource, options?: { algorithm?: { name: string; } | string; outputFormat: 'ArrayBuffer'; }): Promise; export declare function hashAsync(message: string | BufferSource, options?: { algorithm?: { name: string; } | string; outputFormat: 'Uint8Array'; }): Promise;