/**
 * Functions for working with different types of errors
 */
import { CodedError, RPCConfig, RPCError } from './interfaces';
export declare function createRPCError(c: RPCConfig, error: CodedError): RPCError;
export declare function prefixStackWith(a: any, b: any): void;
export declare function createErrorFromRPCError(c: RPCConfig, error: RPCError): CodedError;
