import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { LeoIconSize } from '../ui/leo-icon.js'; declare function AskLeoLauncher({ open, busy, onToggle, showLabel, label, shortcut, introId, arrival, disabled, ariaLabel, tooltipLabel, size, animatedStar, starSize, iconClassName, buttonClassName, className, }: { /** True while Leo's panel is open. Drives `data-leo-open` and the tooltip. */ open: boolean; /** True while Leo is answering. Lifts the wash, nothing else. */ busy?: boolean; onToggle: () => void; /** When true, show the label beside the icon (the comfortable utility bar). */ showLabel?: boolean; label?: string; /** * The chord, rendered in the tooltip beside the name. * * A node rather than a string because the keys are the consumer's `Kbd` * composition and their chord is theirs to choose. */ shortcut?: React.ReactNode; /** * Which arrival this chip counts as. * * Per id and per page load, so a launcher that unmounts and remounts while * navigating does not replay its arrival. Only worth setting if a surface * mounts a second launcher that should arrive on its own. * * `null` opts out of the record and replays on every mount. That is for the * documentation previews: in the shell a replay is noise, but on a page whose * subject is the animation, an arrival that finished before you scrolled to it * documents nothing. */ introId?: string | null; /** Disable the one-shot shell arrival for route-local action buttons. */ arrival?: boolean; disabled?: boolean; ariaLabel?: string; tooltipLabel?: string; size?: "sm" | "lg"; animatedStar?: boolean; starSize?: LeoIconSize; iconClassName?: string; buttonClassName?: string; className?: string; }): react_jsx_runtime.JSX.Element; export { AskLeoLauncher };