/// import type { OutputFormat, Output, AnyInput } from './types' import type { HashType } from './utils/assertHash' export type { HashType } from './utils/assertHash' export function hash( type: HashType, data: AnyInput, form?: F ): Promise> export function hashSync( type: HashType, data: AnyInput, form?: F ): Output