import { Ed25519Keypair } from "@mysten/sui/keypairs/ed25519"; import { Env } from "../types"; export declare const ENOKI_API_URL = "https://api.enoki.mystenlabs.com/v1"; export interface EnokiClientConfig { apiKey?: string; network?: "mainnet" | "testnet" | "devnet"; env?: Env; } export declare const enokiConfig: (env: Env) => { publicApiKey: string; }; export interface ZkLoginResponse { salt: string; address: string; } export interface ZkLoginNonceResponse { nonce: string; randomness: string; epoch: number; maxEpoch: number; estimatedExpiration: number; } export default class EnokiClient { apiKey: string; network: string; constructor(config: EnokiClientConfig); getZkLogin(jwt: string): Promise; createZkLoginNonce(ephemeralKeyPair: Ed25519Keypair): Promise; } export { EnokiClient };