import { ReactElement, ReactNode } from 'react';
import { Flex } from '../flex';
import { Text } from '../text';
export interface HeaderProps extends Omit<Flex.BoxProps, "children" | "el"> {
    level?: Text.Level;
    divided?: boolean;
    bordered?: boolean;
    padded?: boolean;
    children: ReactNode | [ReactNode, ReactNode];
}
export interface ContextValue {
    divided: boolean;
    level: Text.Level;
}
declare const useContext: () => ContextValue;
export { useContext };
/**
 * 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.divided - If true, creates a divider between the start icon, header text,
 * and each action. Default is false.
 */
export declare const Header: ({ className, level, divided, bordered, padded, ...rest }: HeaderProps) => ReactElement;
//# sourceMappingURL=Header.d.ts.map