/** * Gets a human-readable error message for a given error code. */ declare function getCJErrorMessage(code: number): string; /** * Throws a formatted error based on the API response. */ declare function handleCJError(response: { code: number; message?: string; }): never; export { getCJErrorMessage, handleCJError };