code: def transform_bounds(
      src_crs, dst_crs, left, bottom, right, top, densify_pts=21
  ):
      """Transform bounds from src_crs to dst_crs.
  
      Optionally densifying the edges (to account for nonlinear transformations
      along these edges) and extracting the outermost bounds.
  
      Note: antimeridian support added in version 1.3.0
  
      Parameters
      ----------
      src_crs: CRS or dict
          Source coordinate reference system, in rasterio dict format.
          Example: CRS({'init': 'EPSG:4326'})
      dst_crs: CRS or dict
          Target coordinate reference system.
      left, bottom, right, top: float
          Bounding coordinates in src_crs, from the bounds property of a raster.
      densify_pts: uint, optional
          Number of points to add to each edge to account for nonlinear
          edges produced by the transform process.  Large numbers will produce
          worse performance.  Default: 21 (gdal default).
  
      Returns
      -------
      left, bottom, right, top: float
          Outermost coordinates in target coordinate reference system.
      """
      src_crs = CRS.from_user_input(src_crs)
      dst_crs = CRS.from_user_input(dst_crs)
      return _transform_bounds(
          src_crs,
          dst_crs,
          left,
          bottom,
          right,
          top,
          densify_pts,
      )
  
file_path: rasterio/rasterio/warp.py
imports: from math import ceil, floor
  from affine import Affine
  import numpy
  import rasterio
  from rasterio._base import _transform
  from rasterio.crs import CRS
  from rasterio.enums import Resampling
  from rasterio.env import ensure_env, require_gdal_version
  from rasterio.errors import TransformError, RPCError
  from rasterio.transform import array_bounds
  from rasterio._warp import _calculate_default_transform, _reproject, _transform_bounds, _transform_geom, SUPPORTED_RESAMPLING
label_desc: Use image node_id 3 for calling a global function with example usage: transform_bounds(src_crs, dst_crs, left, bottom, right, top, densify_pts) and returns: _transform_bounds