import { AbortSignal } from 'abort-controller'; import { Authorization, ContentType, GetEncryptKeyResponse, KeysPair, RawAction, RawRequest } from '../entities'; export declare function asyncWaterfall({ asyncFunctions, requestTimeout, baseUrls, }: { asyncFunctions: Array<(signal: AbortSignal) => Promise>; requestTimeout?: number; baseUrls?: string[]; }): Promise; export declare function getEncryptKeyForUnCipherContent({ getEncryptKey, method, fioAddress, }: { getEncryptKey: (fioAddress: string) => Promise; method?: string; fioAddress: string; }): Promise; export type CleanObject, K extends keyof T = keyof T> = { [FK in K]: NonNullable; }; export declare const cleanupObject: >(obj: T) => CleanObject; export type ResolveArgsSettings> = { keys: Array; arguments: unknown[]; }; export declare const resolveOptions: >(options: ResolveArgsSettings) => CleanObject; export declare const createAuthorization: (actor: string, permission?: string) => Authorization; export declare const createRawAction: (data: Pick & Partial>) => RawAction; export declare const createRawRequest: (data: Partial) => RawRequest; export declare const defaultTextEncoder: TextEncoder; export declare const defaultTextDecoder: TextDecoder; export declare const getAccountPrivateKeys: (account: string, encryptKeys?: Map) => string[]; export declare const getDecryptedContent: (type: ContentType, value: string, publicKeys: string[], privateKeys?: string[]) => T | null; export declare const getCipherContent: (contentType: ContentType, content: any, privateKey: string, publicKey: string) => string; export declare const getUnCipherContent: (contentType: ContentType, content: string, privateKey: string, publicKey: string) => T; //# sourceMappingURL=utils.d.ts.map