@funded-labs/plug-controller
Version:
Internet Computer Plug wallet's controller
12 lines (11 loc) • 770 B
TypeScript
import PlugKeyRing from './PlugKeyRing';
import { decode, encode } from './utils/idl';
declare const _default: {
PlugKeyRing: typeof PlugKeyRing;
getAccountId: (principal: import("@dfinity/principal").Principal, subaccount?: number | undefined, cryptoAdapter?: typeof CryptoJS) => string;
getCanisterInfo: (canisterId: string, agent?: import("@dfinity/agent").HttpAgent | undefined, fetch?: typeof fetch | undefined) => Promise<import("./utils/dab").CanisterInfo | undefined>;
getMultipleCanisterInfo: (canisterIds: string[], agent?: import("@dfinity/agent").HttpAgent | undefined, fetch?: typeof fetch | undefined) => Promise<import("./utils/dab").CanisterInfo[]>;
IDLDecode: typeof decode;
IDLEncode: typeof encode;
};
export default _default;