import { Text } from '../text';
import { Align } from '../align';
import { ReactElement, ReactNode } from 'react';

export interface HeaderProps extends Omit<Align.SpaceProps, "children" | "el"> {
    level?: Text.Level;
    divided?: boolean;
    children: ReactNode | [ReactNode, ReactNode];
}
export interface ContextValue {
    divided: boolean;
    level: Text.Level;
}
export declare const useContext: () => ContextValue;
/**
 * The container for a module header.
 *
 * @param props - The component props. All unused props will be passed down to the
 * {@link Space} containing the header.
 * @param props.level - The font level for the header. See the {@link Typography.Text}
 * component for all possible levels. Default is "h1."
 * @param props.icon - An optional icon to add add before the start of the header text.
 * @param props.actions - A list of actions to be rendered on the right side ofthe header.
 * If the action is a JSX element, it will be rendered directly, and if its of type
 * ButtonIconProps, a ButtonIconOnly will be rendered using the given props.
 * @param props.divided - If true, creates a divider between the start icon, header text,
 * and each action. Default is false.
 */
export declare const Header: ({ children, className, level, divided, ...props }: HeaderProps) => ReactElement;
//# sourceMappingURL=Header.d.ts.map