import { default as React } from 'react'; import { CsvExportProps } from '../CsvExport/CsvExport'; import { FilterProps } from '../Filter/Filter'; import { ImageProps } from '../Image/Image'; import { SearchBarProps } from '../SearchBar/SearchBar'; import { TooltipProps } from '../Tooltip/Tooltip'; type HeaderWithName = { name: React.ReactNode; value: React.ReactNode; tooltip?: TooltipProps; image?: never; }; type HeaderWithImage = { image: ImageProps; name?: never; value?: never; tooltip?: never; }; export type PageHeaderProps = { /** Header name, value, and optional tooltip */ header?: HeaderWithName | HeaderWithImage; /** Optional `SearchBar` available */ search?: SearchBarProps; /** Optional `CsvExport` available */ download?: CsvExportProps; /** Optional page filter available */ pageFilterProps?: FilterProps; /** Optional informational `Tooltip` available */ tooltip?: Omit; /** Optionally children to appear in the left section of the `PageHeader` */ leftSectionChildren?: React.ReactNode; /** Optionally children to appear in the right section of the `PageHeader` */ rightSectionChildren?: React.ReactNode; /** Optionally children to appear in the bottom section of the `PageHeader` */ bottomSectionChildren?: React.ReactNode; /** Optionally hide the right section divider in mobile */ hideMobileDivider?: boolean; /** Optionally add loaders */ loading?: { headerName?: boolean; headerValue?: boolean; headerImage?: boolean; }; /** Optional prop to add a test id to the PageHeader for QA testing */ qaTestId?: string; }; declare const PageHeader: { ({ header, search, download, tooltip, pageFilterProps, leftSectionChildren, rightSectionChildren, bottomSectionChildren, hideMobileDivider, loading, qaTestId, }: PageHeaderProps): React.JSX.Element; HeaderDivider: ({ large, horizontal, }: { large?: boolean; horizontal?: boolean; }) => import("react/jsx-runtime").JSX.Element; }; export { PageHeader };