import type { CommandMethods, CommandResponse } from '../types/command.ts'; import type { Reason } from '../types/reason.ts'; import { ReasonCodes } from '../types/reason.ts'; export declare class BlipError extends Error { readonly uri: string; readonly cause: Reason; commandResponse?: CommandResponse | undefined; constructor(uri: string, cause: Reason, commandResponse?: CommandResponse | undefined); get code(): number; static isFailedCommandResponse(maybeCommandResponse: unknown): maybeCommandResponse is CommandResponse; static commandResponseToBlipError(uri: string, commandResponse: CommandResponse): BlipError; static retryableBlipErrors: ReasonCodes[]; } //# sourceMappingURL=bliperror.d.ts.map