/**
 * @typedef {import('../../types').PresentationalProps} CommonProps
 * @typedef {import('preact').JSX.HTMLAttributes<HTMLElement>} HTMLAttributes
 *
 * @typedef CardHeaderProps
 * @prop {string} [title]
 * @prop {() => void} [onClose] - Optional callback to close the Card. When
 *   present, a close button will be rendered
 */
/**
 * Render a header area in a Card with optional title and/or close button
 *
 * @param {CommonProps & CardHeaderProps & HTMLAttributes} props
 */
export default function CardHeader({ children, classes, elementRef, onClose, title, ...htmlAttributes }: CommonProps & CardHeaderProps & HTMLAttributes): import("preact").JSX.Element;
export type CommonProps = import('../../types').PresentationalProps;
export type HTMLAttributes = import('preact').JSX.HTMLAttributes<HTMLElement>;
export type CardHeaderProps = {
    title?: string | undefined;
    /**
     * - Optional callback to close the Card. When
     * present, a close button will be rendered
     */
    onClose?: (() => void) | undefined;
};
