@keypo/typescript-sdk
Version:
A TypeScript SDK for using Keypo
10 lines (9 loc) • 515 B
TypeScript
import { type DataMetadata, type EncryptionResult } from "./utils/types";
import { type Account, type Chain, type Client, type Transport } from "viem";
import { type EncryptForProxyConfig } from "./utils/types";
declare global {
interface Window {
ethereum?: any;
}
}
export declare function encryptForProxy(dataIn: Uint8Array, walletClient: Client<Transport, Chain, Account>, metadataIn: DataMetadata, config: EncryptForProxyConfig, authorization: any, debug?: boolean): Promise<EncryptionResult>;