import Header from "@/src/components/layouts/header";
import { Alert, AlertDescription, AlertTitle } from "@/src/components/ui/alert";
import { BatchExportsTable } from "@/src/features/batch-exports/components/BatchExportsTable";
import { useHasProjectAccess } from "@/src/features/rbac/utils/checkProjectAccess";
import { SettingsTableCard } from "@/src/components/layouts/settings-table-card";
export function BatchExportsSettingsPage(props: { projectId: string }) {
const hasAccess = useHasProjectAccess({
projectId: props.projectId,
scope: "batchExports:read",
});
return (
<>
Export large datasets in your preferred format via the export buttons across Langfuse. Exports are processed asynchronously and remain available for download for one hour. You will receive an email notification once your export is ready.
{hasAccess ? (