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