/** * Copyright IBM Corp. 2025, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { type MenuButtonProps } from '../MenuButton'; import React, { ReactNode } from 'react'; /** * ---------------- * TearsheetHeaderActions * ---------------- */ type EnhancedChild = React.ReactElement<{ id: string; overflowItemLabel: string; }>; export interface TearsheetHeaderActionsProps { /** * Action items. Each should be a `TearsheetHeaderActionItem`. */ children: EnhancedChild[]; /** * Optional class name. */ className?: string; /** * Props forwarded to the overflow `MenuButton` shown when items exceed the * available width. */ menuButtonProps?: Partial; } export declare const TearsheetHeaderActions: React.ForwardRefExoticComponent>; /** * ---------------- * TearsheetHeaderActionsItem * ---------------- */ export interface TearsheetHeaderActionItemProps { /** * Provide child elements to be rendered inside TearsheetHeaderActions. */ children: ReactNode; /** * Specify an optional className to be added to your TearsheetHeaderActions */ className?: string; /** * The PageHeaderContent's page actions collapsible Menu button label */ overflowItemLabel?: string; id?: string; } export declare const TearsheetHeaderActionItem: { ({ children, className, }: TearsheetHeaderActionItemProps): React.JSX.Element; displayName: string; }; export {};