"use client"; import { useState } from "react"; import ReportsPLPage from "./ReportsPLPage"; import ReportsBalanceSheetPage from "./ReportsBalanceSheetPage"; import { NaturalLanguageReports } from "@/components/ai/NaturalLanguageReports"; import PageSkeleton from "./PageSkeleton"; type ReportType = "pl" | "balance-sheet"; export default function ReportsShell() { const [report, setReport] = useState("pl"); return (
{/* Report type selector */}

Reports

Financial statements and analysis

{([ { key: "pl" as ReportType, label: "Profit & Loss" }, { key: "balance-sheet" as ReportType, label: "Balance Sheet" }, ]).map((r) => ( ))}
{/* AI Natural Language Reports */}

Ask AI About Your Data

{report === "pl" && } {report === "balance-sheet" && }
); }