import { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
type $RestProps = SvelteHTMLElements["div"];
type $Props = {
/**
* Specify the term text, rendered inside `
`.
* Use the `term` slot for richer content.
* The default slot renders the detail inside ``.
*/
term?: string | undefined;
/**
* Set to `true` to show the item as a total: ruled off from the items
* above, with a larger detail. Use it in a `layout="summary"` list.
* @default false
*/
total?: boolean;
/**
* Set to `true` to rule the item off from the items above without
* enlarging it, such as to start a "Taxes and fees" section.
* @default false
*/
divider?: boolean;
children?: (this: void) => void;
[key: `data-${string}`]: unknown;
};
export type DescriptionListItemProps = Omit<$RestProps, keyof $Props> & $Props;
export default class DescriptionListItem extends SvelteComponentTyped<
DescriptionListItemProps,
Record,
{
default: Record;
/** Term content, such as text with a Toggletip or a link. Overrides the `term` prop. */
term: Record;
}
> {}