import * as React from 'react';
import { ReactNode } from 'react';
import { BoxProps } from '../Flex';
interface SizedContainerProps extends Omit<BoxProps, 'children' | 'onResize'> {
    style?: React.CSSProperties;
    className?: string;
    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;
