import type { ReactNode, Ref } from 'react'; import { getMasterDetailTestIds } from './MasterDetail.test-ids'; import type { MasterDetailNestedNavigation, MasterDetailProps } from './MasterDetail.types'; interface DetailPanelHeaderProps { /** Test identifiers for the header elements. */ testIds: Partial>; /** Primary identity content shown in the header. */ header?: ReactNode; /** Icon displayed with the header identity. */ icon?: string; /** Static or on-demand header actions. */ actions?: NonNullable['actions']>; /** Accessible context appended to the actions menu label. */ contextualLabel?: string; /** Accessible name for the close control. */ closeLabel?: string; /** Ref forwarded to the close control. */ closeRef?: Ref; /** Ref forwarded to the record heading. */ headingRef?: Ref; /** Omit to render the header for the root record. Supply it to step back to the previous one. */ back?: MasterDetailNestedNavigation['back']; /** Omit on the nested header. Only the root header owns close functionality. */ onClose?: () => void; /** Applies nested-header presentation styles. */ isNested?: boolean; } /** Renders the common header chrome for the root and nested detail surfaces. */ declare const DetailPanelHeader: ({ testIds, header, icon, actions, contextualLabel, closeLabel, closeRef, headingRef, back, onClose, isNested }: DetailPanelHeaderProps) => import("react/jsx-runtime").JSX.Element; export default DetailPanelHeader; //# sourceMappingURL=DetailPanelHeader.d.ts.map