import type { IdentityKeys, PrivateAppIdentity, Signer } from './types.js';
export type AppIdentityForEncryption = Omit<PrivateAppIdentity, 'sessionToken' | 'sessionTokenExpires' | 'accountAddress'>;
export declare const encryptIdentity: (signer: Signer, keys: IdentityKeys) => Promise<{
    ciphertext: string;
    nonce: string;
}>;
export declare const decryptIdentity: (signer: Signer, ciphertext: string, nonce: string) => Promise<IdentityKeys>;
export declare const encryptAppIdentity: (appIdentity: AppIdentityForEncryption, keys: IdentityKeys) => Promise<{
    ciphertext: string;
}>;
export declare const decryptAppIdentity: (ciphertext: string, keys: IdentityKeys) => Promise<AppIdentityForEncryption>;
//# sourceMappingURL=identity-encryption.d.ts.map