import { RubicSdkError } from '../errors'; export declare function parseError(err: unknown, defaultMessage?: string): RubicSdkError;