import type BigNumber from 'bignumber.js';
/**
 * Error for problems during processing of received events
 */
export declare class EventError extends Error {
    static code: string;
    code: string;
    constructor(message: string, event?: string);
}
/**
 * Error for problems related to providers
 */
export declare class ProviderError extends Error {
    static code: string;
    code: string;
    constructor(message: string);
}
/**
 * Error for problems related to providers
 */
export declare class NotPinnedError extends ProviderError {
    static code: string;
    code: string;
    constructor(message: string);
}
/**
 * General error that should be used inside of Jobs as it has ability to specify
 * if Jobs should be retried or not and other aspects.
 */
export declare class JobsError extends Error {
    static code: string;
    code: string;
    _retryable: boolean;
    constructor(message: string, retryable?: boolean);
    get retryable(): boolean;
}
/**
 * Error for Providers when they detect that
 */
export declare class HashExceedsSizeError extends JobsError {
    static code: string;
    code: string;
    private readonly _currentSize;
    private readonly _expectedSize;
    static is(e: any): e is HashExceedsSizeError;
    constructor(message: string, currentSize: BigNumber, expectedSize: BigNumber);
    get currentSize(): BigNumber;
    get expectedSize(): BigNumber;
}
