import type { HTMLAttributes } from 'svelte/elements';
import type { Snippet } from 'svelte';
type GapSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
type GridCols = 1 | 2 | 3 | 4 | 'auto';
type StackBelow = 'sm' | 'md' | 'lg';
type GridAlign = 'start' | 'center' | 'end' | 'stretch';
interface Props extends HTMLAttributes {
/** HTML element to render as. @default 'div' */
as?: string;
/** Number of equal columns, or `'auto'` for responsive auto-fill. @default 3 */
cols?: GridCols;
/** Space between grid cells. @default 'sm' */
gap?: GapSize;
/** Minimum column width used when `cols` is `'auto'`. @default '240px' */
minColWidth?: string;
/** Raw `grid-template-columns` track list — overrides `cols`. */
template?: string;
/** Tokenized container width below which the grid collapses to one column. */
stackBelow?: StackBelow;
/** Cross-axis alignment (`align-items`). @default 'stretch' */
align?: GridAlign;
children?: Snippet;
[key: string]: unknown;
}
declare const Grid: import("svelte").Component;
type Grid = ReturnType;
export default Grid;