     EEx.eval_string(@base_template, assigns: assigns)
   end
 
-  @spec save_to_file(Rapport.Report.t(), binary) :: :ok
+  @spec save_to_file(Report.t(), binary) :: :ok
   @doc """
   Convenient function to save a report to file.
 

    Map.put(report, :padding, padding)
  end

  @spec generate_html(Rapport.Report.t()) :: String.t()
  @doc """
  Generates HTML for the report.


  """

  alias Rapport.Report
  alias Rapport.Page
  alias Rapport.PageNumbering

  @normalize_css File.read!(Path.join(__DIR__, "base_template/normalize.css"))
  @paper_css File.read!(Path.join(__DIR__, "base_template/paper.css"))
  @base_template File.read!(Path.join(__DIR__, "base_template/base_template.html.eex"))

  @spec add_page(Report.t(), String.t(), map) :: Report.t()
  defdelegate add_page(report, page_template, fields), to: Page
  @spec add_page(Report.t(), Page.t()) :: Report.t()
  defdelegate add_page(report, page), to: Page
  @spec add_pages(Report.t(), list(Page.t())) :: Report.t()
  defdelegate add_pages(report, pages), to: Page

  @spec generate_pages(maybe_improper_list, any) :: binary
  @spec generate_pages(maybe_improper_list, any, any) :: binary
  defdelegate generate_pages(pages, padding), to: Page
  defdelegate generate_pages(pages, padding, page_number_opts), to: Page

  @spec add_page_numbers(Report.t()) :: Report.t()
  @spec add_page_numbers(Report.t(), atom, any) :: Report.t()
  defdelegate add_page_numbers(report, page_number_position, formatter), to: PageNumbering
  @spec add_page_numbers(Report.t(), atom) :: Report.t()
  defdelegate add_page_numbers(report, page_number_position), to: PageNumbering
  defdelegate add_page_numbers(report), to: PageNumbering

  @spec new(String.t(), map()) :: Report.t()
  @doc """
  Creates a new report.

