import type { FitAlign, FitBasis } from './types';
import type { Snippet } from 'svelte';
type Props = {
/**
* What the content's width is based on before it is scaled to fit:
* - `'box'` — content is laid out at the **box width** first (use for fluid, width-driven content: a card, a text block, single-aspect
* media). Height follows from that width; the content is then scaled **down** only if too tall. Never enlarges.
* - `'content'` — content keeps its **own natural size** (use for intrinsic content: `
` / `