import { WithProofs, TTx, IBasicParams, WithSender } from './transactions'; import { TSeedTypes } from './types'; export declare const mapObj: (obj: Record, f: (v: T) => U) => Record; export declare function getSenderPublicKey(seedsAndIndexes: [string, number?][], params: Partial): string; export declare function getSenderAddress(seedsAndIndexes: [string, number?][], chainId: number): string; export declare const base64Prefix: (str: string | null) => string | null; export declare function addProof(tx: WithProofs, proof: string, index?: number): WithProofs; export declare function convertToPairs(seedObj?: TSeedTypes): [string, number | undefined][]; export declare type CancellablePromise = Promise & { cancel: () => void; }; export declare const delay: (timeout: number) => CancellablePromise<{}>; export declare const waitForTx: (txId: string, timeout: number, apiBase: string) => Promise; export declare function networkByte(p: number | string | undefined, def: number): number; export declare function fee(params: IBasicParams, def: number): string | number;