import { ForwardRefExoticComponent, HTMLAttributes, ReactElement, RefAttributes } from 'react';
import { InlineButtonsItem, InlineButtonsItemProps } from './components/InlineButtonsItem/InlineButtonsItem';
import { InlineButtonsContextProps } from './InlineButtonsContext';
export interface InlineButtonsProps extends HTMLAttributes {
/** Dictates the styling mode for the inline buttons, affecting color and background. */
mode?: InlineButtonsContextProps['mode'];
/**
* Children should be `InlineButtons.Item` components. Each child will inherit the `mode`
* from this parent, ensuring consistent styling across all items.
*/
children: ReactElement[];
}
type InlineButtonsWithComponents = ForwardRefExoticComponent> & {
Item: typeof InlineButtonsItem;
};
/**
* `InlineButtons` acts as a container for `InlineButtons.Item` components. This component
* provides a unified context for styling and interaction, leveraging the `mode` to apply
* consistent styling across all child components. It ensures visual consistency across different
* platforms and supports custom styling modes.
*/
export declare const InlineButtons: InlineButtonsWithComponents;
export {};
//# sourceMappingURL=InlineButtons.d.ts.map