import { ActionButtonProps } from '../actionButton/ActionButton';
import { AriaLabelProperty, CommonProps, Heading, LinkProps } from '../common';
type ActionProps = AriaLabelProperty & {
    text: string;
};
type ButtonActionProps = ActionProps & ActionButtonProps;
type LinkActionProps = ActionProps & LinkProps;
export type HeaderProps = CommonProps & {
    /**
     * When the `href` property is provided to the `action`, we will render a `Link` instead of a `ActionButton`.
     */
    action?: ButtonActionProps | LinkActionProps;
    /**
     * Override the heading element rendered for the title, useful to specify the semantics of your header.
     *
     * @default "h5"
     */
    as?: Heading | 'legend';
    title: string;
};
/**
 *
 * Neptune Web: https://transferwise.github.io/neptune-web/components/content/Header
 *
 */
export declare const Header: ({ action, as, title, className }: HeaderProps) => import("react").JSX.Element;
export default Header;
//# sourceMappingURL=Header.d.ts.map