UNPKG

@funded-labs/plug-controller

Version:

Internet Computer Plug wallet's controller

12 lines (11 loc) 501 B
import { InferredTransaction } from '../../../interfaces/transactions'; interface ICNSMapping { [key: string]: string | undefined; } export declare const getMappingValue: (pid: string, mappings: ICNSMapping) => { principal: string; icns: string | undefined; }; export declare const replacePrincipalsForICNS: (tx: InferredTransaction, mappings: ICNSMapping) => InferredTransaction; export declare const recursiveFindPrincipals: (transactions: InferredTransaction[]) => string[]; export {};