import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["li"]; type $Props = { /** * Specify the group label, such as "Examples". * Alternatively, use the named slot "labelChildren". * @default "" */ labelText?: string; /** * Set an id for the label element * @default uniqueId() */ id?: string; labelChildren?: (this: void) => void; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type TableOfContentsGroupProps = Omit<$RestProps, keyof $Props> & $Props; export default class TableOfContentsGroup extends SvelteComponentTyped< TableOfContentsGroupProps, Record, { default: Record; labelChildren: Record; } > {}