import { TowncryerAPIError } from '../errors'; /** * Standard error handler for API calls. Normalizes any thrown value into a * `TowncryerAPIError` so callers only ever need to check against one type. * @param error The caught error * @returns A TowncryerAPIError instance */ export declare function handleApiError(error: unknown): TowncryerAPIError;