import { ComponentPropsWithRef, ElementType, ReactNode } from 'react'; import { ButtonCondensedProps, BaseButtonCondensedProps } from '../ButtonCondensed/ButtonCondensed'; type BaseAction = Omit & { label: string; 'data-testid'?: string; children?: never; }; type Action = ButtonCondensedProps & BaseAction; type HTMLHeaderProps = ComponentPropsWithRef<'header'>; export type PageHeaderProps = HTMLHeaderProps & { heading: string; backAction?: Action; contentAfter?: ReactNode; contentAfterHeading?: ReactNode; hasBottomBorder?: boolean; testId?: string; }; /** - `heading` is required, and that renders as an `h1` element - Use title casing - e.g., "I'm a Page Header", not "I'm a page header" - You can include an optional breadcrumb nav button above the heading with `backAction`. `backAction` gives you access to props for [Button](/docs/button--docs) and requires a `label`. - There's also an optional `contentAfter` prop where you can add buttons or other relevant content you may want to include at the end of the header. */ export declare function PageHeader({ backAction, contentAfter, contentAfterHeading, hasBottomBorder, testId, heading, ...props }: PageHeaderProps): import("react/jsx-runtime").JSX.Element; export default PageHeader;