import type { VaultConfig, VaultPlugin, NewOriginTokenRequest, NewAttenuatedTokenRequest, SignDataRequest, VerifyDataRequest, UCANTokenResponse, SignDataResponse, VerifyDataResponse, GetIssuerDIDResponse } from './types.js'; /** * Vault client for interacting with the WASM vault module */ export declare class VaultClient implements VaultPlugin { private plugin; private config; private wasmModule; constructor(config?: VaultConfig); /** * Initialize the vault with WASM module */ initialize(wasmPath?: string): Promise; /** * Prepare configuration for the plugin */ private prepareConfig; /** * Ensure plugin is initialized */ private ensureInitialized; /** * Convert JavaScript object to JSON for plugin input */ private toPluginInput; /** * Parse plugin output as JSON */ private parsePluginOutput; /** * Create a new origin UCAN token */ newOriginToken(request: NewOriginTokenRequest): Promise; /** * Create a new attenuated UCAN token */ newAttenuatedToken(request: NewAttenuatedTokenRequest): Promise; /** * Sign data with the vault's MPC enclave */ signData(request: SignDataRequest): Promise; /** * Verify a signature with the vault's MPC enclave */ verifyData(request: VerifyDataRequest): Promise; /** * Get the issuer DID and address from the vault */ getIssuerDID(): Promise; /** * Check if the vault is ready */ isReady(): boolean; /** * Cleanup and release resources */ cleanup(): Promise; } /** * Create a new vault client instance */ export declare function createVaultClient(config?: VaultConfig): VaultClient; /** * Get or create the default vault client */ export declare function getDefaultVaultClient(config?: VaultConfig): Promise; /** * Export error class for convenience */ export { VaultError, VaultErrorCode } from './types.js'; //# sourceMappingURL=client.d.ts.map