import type { SDKError } from "./types_external.js"; /** * Parses the error and returns an object with error details. * * This function handles different types of errors, including retry errors, * connection errors, forbidden status codes, and generic errors. It returns * a standardized error object that can be used throughout the application. * * This function handles different types of errors, including retry errors, * connection errors, forbidden status codes, and generic errors. It returns * a standardized error object that can be used throughout the application. * * @template TErr - The type of the error object. * @param error - The error to be parsed. * @returns An object with error details. */ export declare const parseError: (error: unknown, status?: number) => SDKError; //# sourceMappingURL=errors.d.ts.map