export declare const sha256Str: (str: string) => Promise; export declare const hash: { sha256: (bytes: Uint8Array) => Promise; sha256Str: (str: string) => Promise; }; export declare const aes: { encrypt: (bytes: Uint8Array, key: string) => Promise; decrypt: (bytes: Uint8Array, key: string) => Promise; genKeyStr: () => Promise; decryptGCM: (encrypted: string, keyStr: string, ivStr: string) => Promise; }; export declare const rsa: { verify: (message: Uint8Array, signature: Uint8Array, publicKey: Uint8Array) => Promise; }; export declare const ed25519: { verify: (message: Uint8Array, signature: Uint8Array, publicKey: Uint8Array) => Promise; }; export declare const keystore: { publicReadKey: () => Promise; publicWriteKey: () => Promise; decrypt: (encrypted: string) => Promise; sign: (message: string, charSize: number) => Promise; importSymmKey: (key: string, name: string) => Promise; exportSymmKey: (name: string) => Promise; keyExists: (keyName: string) => Promise; getAlg: () => Promise; clear: () => Promise; };