import * as React from 'react';
import { BoxProps } from 'rebass';
import { ReactNode } from 'react';
interface SizedContainerProps extends Omit<BoxProps, 'children' | 'onResize'> {
    children: (size: {
        width: number;
        height: number;
    }) => ReactNode;
    onResize?: (size: {
        width: number;
        height: number;
    }) => void;
}
declare const SizedContainer: (props: SizedContainerProps) => React.JSX.Element;
export default SizedContainer;
