/**
 * Decrypt an encrypted authentication JSON string
 * Throws an error if decryption fails
 */
export type DecryptFn = (authentication: string) => object;
/**
 * Decrypt an encrypted authentication JSON string
 * Returns undefined if decryption fails
 */
export type SafeDecryptFn = (authentication: string) => object | undefined;
export type EncryptFn = (authentication: object) => string;
