/** * Generates a SHA-256 hash of a given string or Buffer and returns it as a Base64-encoded string. * * Useful for generating secure checksums, file fingerprints, or deterministic cache keys. * * SHA-256 is cryptographically strong and preferred for integrity and security checks. * * @param content - The input content (string or Buffer) to hash. * @returns The Base64-encoded SHA-256 hash string. * * @example * sha('hello'); // returns 'LPJNul+wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ=' * * @example * sha(Buffer.from('hello')); // also returns the same value */ export declare function sha(content: string | Buffer): string; //# sourceMappingURL=sha.d.ts.map