/**
 * Code related to SHA_1
 * @module
 */
import { Sha1ArrayBuffer } from "./shared.js";
/**
 * Get the digest of the buffer
 * @example
 * ```ts
 * const buffer = new TextEncoder().encode("a file");
 * const digest = SHA_1.digest(buffer);
 * ```
 */
export declare const digest: (data: BufferSource) => Promise<Sha1ArrayBuffer>;
/**
 * Get the hex string of the digest
 * @example
 * ```ts
 * const hash = SHA_1.hexify(digest);
 * ```
 */
export declare const hexify: (digest: Sha1ArrayBuffer) => string;
//# sourceMappingURL=sha_1.d.ts.map