/**
* SvText - the workhorse text primitive: a paragraph or inline span with
* consistent size / weight / colour tokens, optional truncation and line
* clamping. Themes from the shared `--sg-*` tokens.
*
* Last synced 2 minutes ago
* A long description that wraps then ellipsises...
*/
import type { Snippet } from 'svelte';
type Props = {
/** Font size step. */
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
/** Font weight. */
weight?: 'normal' | 'medium' | 'semibold' | 'bold';
/** Semantic colour. */
tone?: 'default' | 'muted' | 'accent' | 'success' | 'warning' | 'error';
/** Text alignment. */
align?: 'start' | 'center' | 'end';
/** Truncate to a single line with an ellipsis. */
truncate?: boolean;
/** Clamp to N lines with an ellipsis (overrides truncate). */
clamp?: number;
/** Render inline (`span`) instead of a block (`p`). */
inline?: boolean;
/** Override the element/tag. */
as?: string;
children?: Snippet;
};
declare const SvText: import("svelte").Component;
type SvText = ReturnType;
export default SvText;