export declare enum SecretToUse { AES = 0, HMAC = 1 } export declare class Crypt { static secrets: string[]; private static iv; private static maxlen; constructor(secrets: string[], initvector: string); static encryptAES256(text: string, secretId: SecretToUse | number): string; static decryptAES256(text: string, secretId: SecretToUse | number): string; static hmacSHA512(text: string, secretId: SecretToUse | number): string; private static checkLength; static sign(obj: T, skipProperties?: string[]): T & ISigned; static checkSignature(obj: T, skipProperties?: string[]): boolean; private static toString; } export interface ISigned { signature: string; } export interface Extendable { [key: string]: any; } //# sourceMappingURL=crypt.d.ts.map