import * as React from 'react'; import type { QAProps } from "../../types.js"; import type { SpacingProps } from "../spacing/spacing.js"; import "./Box.css"; export interface BoxProps extends QAProps, React.HTMLAttributes, React.PropsWithChildren> { as?: T; /** * Add overflow css properties to container */ overflow?: 'hidden' | 'x' | 'y' | 'auto'; className?: string; /** * All spacing shortcut properties available here. * ```tsx * ... * // margin-right: 12px * // padding-bottom: 8px * ``` */ spacing?: SpacingProps; } type BoxRef = React.ComponentPropsWithRef['ref']; type BoxPropsWithTypedAttrs = BoxProps & Omit, keyof BoxProps>; /** * Basic block to build other components and for standalone usage as a smart block with build in support of most usable css properties and shortcut `spacing` properties. * ```tsx * * some content * * * some content * * ``` */ export declare const Box: ((props: BoxPropsWithTypedAttrs & { ref?: BoxRef; }) => React.ReactElement) & { displayName: string; }; export {};