import * as React from 'react'; import { BoxProps as ReakitBoxProps } from 'reakit'; import { ThemeConfig, CSSProperties } from '../types'; declare type ComponentType = React.ComponentType & { useProps: any; }; export declare type LocalBoxProps = { use?: string | ComponentType; className?: string; children?: React.ReactNode | ((props: BoxProps) => React.ReactNode); alignX?: 'left' | 'center' | 'right'; alignY?: 'top' | 'center' | 'bottom'; variant?: string; colorMode?: string; disabled?: boolean; overrides?: ThemeConfig; elementRef?: React.Ref; themeKey?: string; }; export declare type BoxProps = ReakitBoxProps & CSSProperties & LocalBoxProps; export declare const Box: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export {};