import { Option, Nullable } from '@hazae41/option'; import { BytesOrCopiable, Copiable } from '../../libs/copiable/index.js'; declare function get(): Option; declare function set(value: Nullable): void; interface Hasher extends Disposable { cloneOrThrow(): Hasher; updateOrThrow(bytes: BytesOrCopiable): this; finalizeOrThrow(): Copiable; } interface HasherFactory { createOrThrow(): Hasher; } interface Adapter { readonly Hasher: HasherFactory; hashOrThrow(bytes: BytesOrCopiable): Copiable; } export { get, set }; export type { Adapter, Hasher, HasherFactory };