import type { ComponentPropsWithoutRef, ElementType, ForwardedRef, ReactElement } from 'react'; import type { LayoutProps } from './layout.types.js'; export type BoxProps = LayoutProps & Omit, keyof LayoutProps> & { as?: E; }; /** * Box — the universal layout primitive. * * Defaults to `
` but polymorphic via `as`. All layout props map to * the utility classes in core, so styles stay predictable and debuggable * in DevTools (no inline styles). * * @example * ... * ... * ... */ export declare const Box: (props: BoxProps & { ref?: ForwardedRef; }) => ReactElement;