import * as React from "react"; import type { FloatButtonBackTopProp, FloatButtonGroupProp, FloatButtonShapeProp, FloatButtonTooltipProp, FloatButtonTypeProp } from "../../props/components/general.prop.js"; export type { FloatButtonBackTopProp, FloatButtonBackTopProp as FloatButtonBackTopProps, FloatButtonBadgeProp, FloatButtonGroupProp, FloatButtonGroupProp as FloatButtonGroupProps, FloatButtonPlacementProp, FloatButtonProp, FloatButtonProp as FloatButtonProps, FloatButtonShapeProp, FloatButtonTooltipProp, FloatButtonTriggerProp, FloatButtonTypeProp, } from "../../props/components/general.prop.js"; /** * FloatButton.Group — a stack of corner actions, optionally behind one trigger. * * Two modes, and `trigger` is the switch, exactly as in antd: WITHOUT it every child is visible and * no trigger is drawn; WITH it the children collapse behind a trigger that opens them on click or * on hover. */ declare function FloatButtonGroup({ children, trigger, open, onOpenChange, closeIcon, placement, shape, type, icon, disabled, className, onClick, ...rest }: FloatButtonGroupProp): React.JSX.Element; /** * FloatButton.BackTop — the corner action that returns a scroll container to the top. * * `target` is antd's, and it is the answer to the objection that a document-bound BackTop competes * with a shell that owns its own scroll: pass `() => element` and this watches that element, not * the document. Under `prefers-reduced-motion` the scroll is instant rather than tweened * (WCAG 2.3.3), which is antd's behaviour too. */ declare function FloatButtonBackTop({ visibilityHeight, target, duration, showProgress, onClick, icon, tooltip, className, ...rest }: FloatButtonBackTopProp): React.JSX.Element | null; /** * The compound, exactly as antd exports it: one name, two sub-parts on it. A consumer porting a * screen writes `` / `` unchanged. */ export declare const FloatButton: React.ForwardRefExoticComponent, "color" | "content" | "type"> & { icon?: import("../../props/index.js").ChildrenProp; description?: import("../../props/index.js").DescriptionProp; content?: import("../../props/index.js").ChildrenProp; type?: FloatButtonTypeProp; shape?: FloatButtonShapeProp; tooltip?: import("../../props/index.js").ChildrenProp | FloatButtonTooltipProp; href?: string; target?: React.HTMLAttributeAnchorTarget; badge?: import("./float-button.js").FloatButtonBadgeProp; disabled?: import("../../props/index.js").DisabledProp; htmlType?: "button" | "submit" | "reset"; className?: import("../../props/index.js").ClassNameProp; } & React.RefAttributes> & { Group: typeof FloatButtonGroup; BackTop: typeof FloatButtonBackTop; };