import { isly } from "isly"; export type Algorithm = typeof Algorithm.values[number]; export declare namespace Algorithm { const values: readonly ["SHA-1", "SHA-256", "SHA-384", "SHA-512"]; const type: isly.Type<"SHA-1" | "SHA-256" | "SHA-384" | "SHA-512">; const is: (value: any | ("SHA-1" | "SHA-256" | "SHA-384" | "SHA-512")) => value is "SHA-1" | "SHA-256" | "SHA-384" | "SHA-512"; const flaw: (value: ("SHA-1" | "SHA-256" | "SHA-384" | "SHA-512") | any) => isly.Flaw; function bits(algorithm: Algorithm): 128 | 256 | 384 | 512; }