import { default as React } from 'react'; import { default as Button } from '../Button/Button'; import { default as ButtonGroup } from '../Button/ButtonGroup/ButtonGroup'; import { default as Pagination } from '../Pagination/Pagination'; type ButtonType = React.ComponentProps; type ButtonGroupType = React.ComponentProps; type PaginationType = React.ComponentProps; type ButtonProp = { type: 'button'; } & ButtonType; type ButtonGroupProps = { type: 'buttonGroup'; } & ButtonGroupType; type PaginationProps = { type: 'pagination'; } & PaginationType; type ButtonProps = ButtonProp | ButtonGroupProps; type LeftSectionProps = ButtonProps | PaginationProps; export type PageFooterProps = { /** Right section props can include 1 - 3 Buttons */ rightSection?: ButtonProps[]; /** Optional : Left section props includes a single Button or Pagination */ leftSection?: LeftSectionProps; /** Optional : Override default width calculation */ customWidth?: string; /** Optional : Override default class */ customClass?: string; /** Optional prop to add a test id to the PageFooter for QA testing */ qaTestId?: string; }; declare const PageFooter: ({ leftSection, rightSection, customWidth, customClass, qaTestId, }: PageFooterProps) => React.JSX.Element; export default PageFooter;