import { GotError, ErrorType } from '../types'; export declare class SignatureVerificationError extends Error { detail: { webhookPayload: unknown; signatureHeader: string; } | undefined; constructor(message: string, detail?: { signatureHeader: string; webhookPayload: unknown; }); } export declare class BlockfrostServerError extends Error { status_code: number; error: string; url: string; constructor(error: Extract); } export declare class BlockfrostClientError extends Error { code: string; url: string | undefined; constructor(error: Extract); } export declare const isBlockfrostErrorResponse: (data: unknown) => data is { status_code: number; message: string; error: string; url: string; }; export declare const handleError: (error: GotError) => BlockfrostServerError | BlockfrostClientError;