import { AbstractResponse } from "../types/messaging"; import { AbstractMessageSchema, ExtractSchema, WalletHandleTypes } from "../types/protocol"; import { WalletSDKContext } from "./context"; type PathedMethodSchema = { [K in keyof TSchema]: { P0: `${TSchema[K]["namespace"]}/${TSchema[K]["method"]}`; schema: TSchema[K]; }; }[number]; type WalletClientHandler = (context: WalletSDKContext) => AbstractResponse | Promise; export type IntmaxWalletClient = { ready: () => void; destruct: () => void; on: ["P0"], TMethodSchema extends Extract, { P0: TPath; }>>(path: TPath, cb: WalletClientHandler) => void; }; export declare const intmaxWalletClient: >() => IntmaxWalletClient<_TSchema>; export {}; //# sourceMappingURL=walletClient.d.ts.map