import { LodestarError } from "@lodestar/utils";
export declare enum QueueErrorCode {
    QUEUE_ABORTED = "QUEUE_ERROR_QUEUE_ABORTED",
    QUEUE_MAX_LENGTH = "QUEUE_ERROR_QUEUE_MAX_LENGTH"
}
export type QueueErrorCodeType = {
    code: QueueErrorCode.QUEUE_ABORTED;
} | {
    code: QueueErrorCode.QUEUE_MAX_LENGTH;
};
export declare class QueueError extends LodestarError<QueueErrorCodeType> {
}
export declare function isQueueErrorAborted(e: unknown): e is QueueError;
//# sourceMappingURL=errors.d.ts.map