import type { Snippet } from 'svelte'; type CenterAxis = 'both' | 'x' | 'y'; type CenterAlign = 'start' | 'center' | 'end'; type CenterPadding = 'none' | 'sm' | 'md' | 'lg'; interface CenterProps { /** Center on both axes (default) or only inline / block */ axis?: CenterAxis; /** Cross-axis alignment when axis is x or y */ align?: CenterAlign; /** Intrinsic max width of the centered child wrapper */ maxWidth?: string; padding?: CenterPadding; /** Min height for vertical centering */ minHeight?: string; /** Stretch to fill parent height when minHeight is not set */ fill?: boolean; class?: string; children?: Snippet; } declare const Center: import("svelte").Component; type Center = ReturnType; export default Center;