import React from 'react';
import type { Action } from "../../../types/common.js";
import { type HeaderProps } from "./types.js";
export type ActionItem = {
    id: string;
    type: 'base' | 'additional';
    onClick?: () => void;
    foldingState?: 'collapsed' | 'opened';
};
export declare function useHeader(props: HeaderProps): {
    title: string | undefined;
    preview: React.ReactNode | undefined;
    icon: React.ReactNode | undefined;
    baseActions: ActionItem[];
    additionalActions: Action[];
    titlePosition: 'left' | 'center';
    withIcon: boolean;
    showTitle: boolean;
    className?: string;
    historyButtonRef?: React.RefObject<HTMLElement>;
    qa?: string;
    actionQa?: HeaderProps['actionQa'];
    actionTooltipTexts?: HeaderProps['actionTooltipTexts'];
};
