import { type MouseEventHandler, type ReactNode } from 'react'; import { type AriaDisabledProps, type AriaLabelingProps, type DOMProps, type DataTestId, type StylingProps } from '@dynatrace/strato-components/core'; /** * Accepted properties for the BaseInput Button * @public */ export interface BaseInputButtonProps extends AriaLabelingProps, AriaDisabledProps, DOMProps, StylingProps, DataTestId { /** Elements to be displayed in the BaseInput Button slot, preferably an icon or a similar visual element */ children: ReactNode; /** * If a button is disabled e.g. it cannot be interacted with. * By default, it inherits the disabled prop of the BaseInput, but can be overwritten. * @defaultValue false */ disabled?: boolean; /** * If specified, a tooltip is rendered with this text, which describes what the button does. * Please also consider translating the text in an internationalized context and use a short text description for the tooltip. * The positioning and placing of the according tooltip will be handled by the component. */ tooltipText?: string; /** Called when the button is interacted with. */ onClick?: MouseEventHandler; /** Determines whether the input is in read-only mode. */ readOnly?: boolean; } /** * Component which allows users to trigger actions or events when clicking or when pressing `Enter` or `Space` while the button has focus. * @public */ export declare const BaseInputButton: (props: BaseInputButtonProps & import("react").RefAttributes) => React.ReactElement | null;