import React, { type CSSProperties } from "react"; import type { RegisteredLinkProps } from "./link"; type Link = { text: string; linkProps: RegisteredLinkProps; subLinks?: Link[]; }; export type SummaryProps = { id?: string; className?: string; links: Link[]; title?: string; /** Default: "p" */ as?: "p" | "h2" | "h3" | "h4" | "h5" | "h6"; classes?: Partial>; style?: CSSProperties; }; /** @see */ export declare const Summary: React.MemoExoticComponent>>; declare const addSummaryTranslations: (params: { lang: string; messages: Partial<{ title: string; }>; }) => void; export { addSummaryTranslations }; export default Summary;