import { type Snippet } from 'svelte'; type Props = { /** Maximum number of visible lines before truncation. Also settable via CSS custom property. */ maxLines?: number; /** Show a "show more / show less" toggle when text is truncated */ enableShowMore?: boolean; children: Snippet; }; /** * Truncates text content to a fixed number of lines (`maxLines`) with an optional "show more / show less" * toggle. When `enableShowMore` is set, clicking the truncated text expands it; a "show less" button * collapses it back. * * ### CSS Custom Properties * | Property | Description | Default | * |---|---|---| * | `--sc-kit--line-clamp--white-space` | White-space mode for wrapped text | `pre-line` | * | `--sc-kit--line-clamp--line-clamp` | Number of lines before truncation | `1` | * | `--sc-kit--line-clamp--toggle-color` | Color of the "show less" button | `--sc-kit--color--accent` | */ declare const Cmp: import("svelte").Component; type Cmp = ReturnType; export default Cmp;