import PropTypes from 'prop-types'; import React, { ReactElement } from 'react'; import { JustifyContent } from './types'; export interface TopSectionProps { sortLabels?: SortLabels; justifyContent?: JustifyContent; spacing?: string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7; children?: React.ReactNode; } interface SortLabels { sortBy?: React.ReactChild; order?: React.ReactChild; ascending?: React.ReactChild; descending?: React.ReactChild; } declare const TopSection: { (props: TopSectionProps): ReactElement | null; defaultProps: { sortLabels: { sortBy: string; order: string; ascending: string; descending: string; }; justifyContent: string; spacing: number; }; propTypes: { sortLabels: PropTypes.Requireable; order: PropTypes.Requireable; ascending: PropTypes.Requireable; descending: PropTypes.Requireable; }>>; justifyContent: PropTypes.Requireable; spacing: PropTypes.Requireable; children: PropTypes.Requireable; }; displayName: string; }; export default TopSection;