import type { DigestParticularAlgoOptions } from './types'; declare function unsafeSha1(plaintext: string, options: DigestParticularAlgoOptions & { hashFormat: 'hex'; }): Promise; declare function unsafeSha1(plaintext: string, options: DigestParticularAlgoOptions & { hashFormat: 'base64'; }): Promise; declare function unsafeSha1(plaintext: string, options: DigestParticularAlgoOptions & { hashFormat: 'buffer'; }): Promise; declare function unsafeSha1(plaintext: string, options: DigestParticularAlgoOptions): Promise; declare function unsafeSha1(plaintext: string): Promise; export default unsafeSha1;