import { Primitive } from "../../utils/Primitive.js"; import { type ComponentRef, type ComponentPropsWithoutRef } from "react"; type PrimitiveDivProps = ComponentPropsWithoutRef; export declare namespace ActionBarPrimitiveRoot { type Element = ComponentRef; type Props = PrimitiveDivProps & { /** * Whether to hide the action bar when the thread is running. * @default false */ hideWhenRunning?: boolean | undefined; /** * Controls when the action bar should automatically hide. * - "always": Always hide unless hovered * - "not-last": Hide unless this is the last message * - "never": Never auto-hide * @default "never" */ autohide?: "always" | "not-last" | "never" | undefined; /** * Controls floating behavior when auto-hidden. * - "always": Always float when hidden * - "single-branch": Float only for single-branch messages * - "never": Never float * @default "never" */ autohideFloat?: "always" | "single-branch" | "never" | undefined; }; } /** * The root container for action bar components. * * This component provides intelligent visibility and floating behavior for action bars, * automatically hiding and showing based on message state, hover status, and configuration. * It supports floating mode for better UX when space is limited. * * @example * ```tsx * * * * * * ``` */ export declare const ActionBarPrimitiveRoot: import("react").ForwardRefExoticComponent & import("react").HTMLAttributes & { asChild?: boolean; }, "ref"> & { render?: import("react").ReactElement | undefined; } & import("react").RefAttributes, "ref"> & { /** * Whether to hide the action bar when the thread is running. * @default false */ hideWhenRunning?: boolean | undefined; /** * Controls when the action bar should automatically hide. * - "always": Always hide unless hovered * - "not-last": Hide unless this is the last message * - "never": Never auto-hide * @default "never" */ autohide?: "always" | "not-last" | "never" | undefined; /** * Controls floating behavior when auto-hidden. * - "always": Always float when hidden * - "single-branch": Float only for single-branch messages * - "never": Never float * @default "never" */ autohideFloat?: "always" | "single-branch" | "never" | undefined; } & import("react").RefAttributes>; export {}; //# sourceMappingURL=ActionBarRoot.d.ts.map