import type { PressableRef, TextRef, ViewRef } from '../../helpers/internal/types/index.js'; import type { ButtonContextValue, ButtonLabelProps, ButtonRootProps } from './button.types.js'; declare const useButton: () => ButtonContextValue; /** * Compound Button component with sub-components. * * @component Button - Main button container wrapping `PressableFeedback`. Handles press * interactions, visual variants, and feedback animations. The `feedbackVariant` prop controls * which effects are rendered (`scale-highlight`, `scale-ripple`, `scale`, or `none`), while the * `animation` prop provides granular control over each sub-animation (scale, highlight, ripple). * String children are automatically rendered as a label. * * @component Button.Label - Text content of the button. Inherits size and variant styling * from the parent Button context. * * @component Button.Background - Absolute-fill background container behind the * secondary / tertiary variant's button surface. With no children, the active * library theme decides the default content (e.g. a glass blur layer); * pass children to host custom content with the same positioning and clipping. * * Props flow from Button to sub-components via context (size, variant, isDisabled). * * @see Full documentation: https://heroui.com/docs/native/components/button */ declare const CompoundButton: import("react").ForwardRefExoticComponent> & { /** Button label - renders text or custom content */ Label: import("react").ForwardRefExoticComponent>; /** Button background - absolute-fill container behind the button surface */ Background: import("react").ForwardRefExoticComponent>; }; export { useButton }; export default CompoundButton; //# sourceMappingURL=button.d.ts.map