import { BaseError } from "./BaseError";
/**
 * Used to hide internal error
 *
 * Stores `previousError` helpful for debugging purposes.
 */
export declare class InternalError<TPreviousError extends Error> extends BaseError {
    previousError?: TPreviousError;
    constructor(message: string, previousError?: TPreviousError);
}
