import type { Account, Chain, PublicClient, Transport, WalletClient } from 'viem'; import { validateHandle } from '../attesteddecrypt/attested-decrypt.js'; import { type HexString } from '../binary.js'; import { type SupportedChainId } from '../chain.js'; import { type EncryptionScheme, type SupportedTeeType } from '../encryption/encryption.js'; import { KmsQuorumClient } from '../kms/quorumClient.js'; import type { XwingKeypair } from '../lite/xwing.js'; import type { BackoffConfig } from '../retry.js'; import { type EListDecryptionAttestation, type EncryptedEListDecryptionAttestation } from './types.js'; export { validateHandle }; export declare function eListAttestedDecrypt({ handle, backoffConfig, walletClient, chainId, reencryptPubKey, reencryptKeypair, kmsQuorumClient, executorAddress, }: { handle: HexString; backoffConfig?: Partial | undefined; walletClient: WalletClient; chainId: SupportedChainId; reencryptPubKey: Uint8Array; reencryptKeypair: XwingKeypair; kmsQuorumClient: KmsQuorumClient; executorAddress: HexString; }): Promise>; export declare function eListAttestedDecrypt({ handle, backoffConfig, walletClient, chainId, reencryptPubKey, kmsQuorumClient, executorAddress, }: { handle: HexString; backoffConfig?: Partial | undefined; walletClient: WalletClient; chainId: SupportedChainId; reencryptPubKey: Uint8Array; reencryptKeypair?: never; kmsQuorumClient: KmsQuorumClient; executorAddress: HexString; }): Promise>; export declare function eListAttestedDecrypt({ handle, backoffConfig, walletClient, chainId, kmsQuorumClient, executorAddress, }: { handle: HexString; backoffConfig?: Partial | undefined; walletClient: WalletClient; chainId: SupportedChainId; reencryptPubKey?: never; reencryptKeypair?: never; kmsQuorumClient: KmsQuorumClient; executorAddress: HexString; }): Promise>; /** * Reveal a single elist handle without wallet authentication. * Returns plaintext values along with an attestation of the checksum. */ export declare function eListAttestedReveal({ handle, backoffConfig, kmsQuorumClient, executorAddress, publicClient, }: { handle: HexString; backoffConfig?: Partial | undefined; kmsQuorumClient: KmsQuorumClient; executorAddress: HexString; publicClient: PublicClient; }): Promise>;