/**
 * Represents a multihash digest which carries information about the
 * hashing alogrithm and an actual hash digest.
 */
export interface MultihashDigest {
    /**
     * Code of the multihash
     */
    code: number;
    /**
     * Raw digest (without a hashing algorithm info)
     */
    digest: Uint8Array;
    /**
     * byte length of the `this.digest`
     */
    size: number;
    /**
     * Binary representation of the this multihash digest.
     */
    bytes: Uint8Array;
}
/**
 * Hasher represents a hashing algorithm implementation that produces as
 * `MultihashDigest`.
 */
export interface MultihashHasher {
    /**
     * Takes binary `input` and returns it (multi) hash digest.
     * @param {Uint8Array} input
     */
    digest(input: Uint8Array): Promise<MultihashDigest>;
}
//# sourceMappingURL=interface.d.ts.map