import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface LayoutPropsBase { children?: React.ReactNode; /** * A React ref which is set to the DOM element when the component mounts, and null when it unmounts. */ elementRef?: React.Ref; } type LayoutProps = ComponentProps; /** * Renders a container to layout children using standard spacing values. */ export declare function Layout({ children, elementRef, ...otherProps }: LayoutProps): React.JSX.Element; export declare namespace Layout { var propTypes: { children: PropTypes.Validator>; elementRef: PropTypes.Requireable; }; } export default Layout; export type { LayoutProps, LayoutPropsBase };