import { type MouseEvent, type Ref } from "react"; import { type SizeLarge, type SizeMedium, type SizeSmall } from "../@types/size.js"; /** * @internal */ export interface IUiSubmenuHeaderProps { title?: string; tooltipText?: string; onBack?: (e: MouseEvent) => void; onClose?: (e: MouseEvent) => void; /** Ref to the back button, e.g. to focus it when the submenu opens. */ backButtonRef?: Ref; backAriaLabel?: string; closeAriaLabel?: string; useShortenedTitle?: boolean; textColor?: string; backgroundColor?: string; height?: SizeSmall | SizeMedium | SizeLarge; titleId?: string; } /** * Unified submenu header: optional back button, title, and optional close button. * Title can render as Typography h3 or ShortenedText h3. * @internal */ export declare function UiSubmenuHeader({ title, tooltipText, onBack, onClose, backButtonRef, backAriaLabel, closeAriaLabel, useShortenedTitle, textColor, backgroundColor, height, titleId, }: IUiSubmenuHeaderProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=UiSubmenuHeader.d.ts.map