--- import { useTranslations } from "@i18n/utils"; import type { MarkdownHeading } from "astro"; const t = useTranslations(Astro.url); type Props = { headings: MarkdownHeading[]; }; const { headings } = Astro.props; ---