import * as AccordionPrimitive from '@radix-ui/react-accordion'; import { Action } from 'sonner'; import { AlertDialog as AlertDialog_2 } from 'radix-ui'; import { AspectRatio as AspectRatio_2 } from 'radix-ui'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; import { ClassProp } from 'class-variance-authority/types'; import { ClassValue } from 'clsx'; import { Collapsible as Collapsible_2 } from 'radix-ui'; import { ComponentProps } from 'react'; import { Components } from 'react-markdown'; import { ContextMenu as ContextMenu_2 } from 'radix-ui'; import { ControllerProps } from 'react-hook-form'; import { default as default_2 } from 'react'; import { Dialog as Dialog_2 } from 'radix-ui'; import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; import { ExternalToast } from 'sonner'; import { FieldError } from 'react-hook-form'; import { FieldPath } from 'react-hook-form'; import { FieldValues } from 'react-hook-form'; import { FormProviderProps } from 'react-hook-form'; import { ForwardRefExoticComponent } from 'react'; import { HoverCard as HoverCard_2 } from 'radix-ui'; import { HTMLMotionProps } from 'motion/react'; import { JSX as JSX_2 } from 'react/jsx-runtime'; import { Menubar as Menubar_2 } from 'radix-ui'; import { MotionValue } from 'motion/react'; import { Options } from 'canvas-confetti'; import { Popover as Popover_2 } from 'radix-ui'; import { Progress as Progress_2 } from 'radix-ui'; import { Properties } from 'hast'; import { RadioGroup as RadioGroup_2 } from 'radix-ui'; import * as React_2 from 'react'; import { RefAttributes } from 'react'; import { RefObject } from 'react'; import { ScrollArea as ScrollArea_2 } from 'radix-ui'; import { Select as Select_2 } from 'radix-ui'; import { Slider as Slider_2 } from 'radix-ui'; import { SlotProps } from '@radix-ui/react-slot'; import { SpringOptions } from 'motion/react'; import * as SwitchPrimitives from '@radix-ui/react-switch'; import { Tabs as Tabs_2 } from 'radix-ui'; import * as TabsPrimitive from '@radix-ui/react-tabs'; import { TargetAndTransition } from 'motion/react'; import { toast } from 'sonner'; import { ToastClassnames } from 'sonner'; import { ToasterProps } from 'sonner'; import { ToastT } from 'sonner'; import { ToastToDismiss } from 'sonner'; import { Toggle as Toggle_2 } from 'radix-ui'; import { ToggleGroup as ToggleGroup_2 } from 'radix-ui'; import * as TooltipPrimitive from '@radix-ui/react-tooltip'; import { Transition } from 'motion/react'; import { useEffect } from 'react'; import { VariantProps } from 'class-variance-authority'; /** * The explicit "I can't ground this" state. Renders only when `abstained` is * true (dormant otherwise). Use at the turn level (`run_end.abstained`) or per * claim (`citation.abstained`). */ export declare const AbstentionNotice: React_2.ForwardRefExoticComponent>; export declare interface AbstentionNoticeProps extends React_2.HTMLAttributes { /** When true, render the notice. Absent / false -> renders nothing. */ abstained?: boolean; /** Whether the notice is for the whole turn (`this`) or one `claim`. */ scope?: "this" | "claim"; } export declare const Accordion: React_2.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React_2.RefAttributes>; export declare const AccordionContent: React_2.ForwardRefExoticComponent>; export declare interface AccordionContentProps extends React_2.ComponentPropsWithoutRef, VariantProps { } export declare const accordionContentVariants: (props?: ({ variant?: "default" | "card" | null | undefined; } & ClassProp) | undefined) => string; export declare const AccordionItem: React_2.ForwardRefExoticComponent>; export declare interface AccordionItemProps extends Omit, "value">, VariantProps { value: string; } /** * Accordion — Radix-based collapsible-section primitive matching pretty's * surface tokens. * * Wraps `@radix-ui/react-accordion` so consumers get pretty's spacing, * radius, border colour, and `data-state`-driven animation defaults * without re-implementing the open/close keyframes per app. Single * (`type="single"`) and multiple (`type="multiple"`) selection both work * because Radix's union type passes through. * * * * What's in the box * *

Five experience types. One studio. Zero glue code.

*
*
* * Pricing * Free while we're cooking. * *
* * Two visual variants, picked at the `` level so * different items can mix-and-match within one Accordion if a surface * needs it (e.g. an FAQ where the first item is a "card" callout): * * - **`default`** — minimal, item-separated by `border-b`. Use for FAQ * lists, dense content. The Tailwind border lives on the item, not * the wrapper, so the last item's stripe is naturally absent. * - **`card`** — each item is its own rounded card with border, soft * `bg-card`, and a hairline shadow. Use for product feature lists or * sections that need to read as discrete "things." * * Animations come from Radix's `data-state` attributes paired with * pretty's preset's `animate-accordion-down` / `animate-accordion-up` * utilities (registered in `tailwind.preset.ts`'s * `theme.extend.animation`). Reduced-motion is honoured via the * `motion-reduce:` modifier on the content element. * * Composition note — the trigger is wrapped in `` * (an `

` by default per Radix). Override with the standard Radix * `asChild` pattern on the trigger if your surface needs a different * heading level. */ export declare const accordionItemVariants: (props?: ({ variant?: "default" | "card" | null | undefined; } & ClassProp) | undefined) => string; export declare const AccordionTrigger: React_2.ForwardRefExoticComponent>; export declare interface AccordionTriggerProps extends Omit, "asChild">, VariantProps { /** * Override Radix's default `

` heading level. Useful when the * accordion sits inside a content hierarchy that calls for `h2` or `h4`. * Falls through to `` so screen readers still * see the trigger as a heading. */ level?: "h2" | "h3" | "h4" | "h5" | "h6"; /** Override the icon shown next to the label. Defaults to a chevron-down. */ icon?: React_2.ReactNode; /** * When false, skip the `` wrapper (the `

` * element). Use for nav contexts where the heading semantic is wrong * (e.g. NavTree session rows) — Radix still wires all keyboard/ARIA * behaviour through the underlying AccordionPrimitive.Trigger. * Default true. */ asHeader?: boolean; } export declare const accordionTriggerVariants: (props?: ({ variant?: "default" | "card" | null | undefined; } & ClassProp) | undefined) => string; export declare const ActionIconTile: React_2.ForwardRefExoticComponent>; /** * ActionIconTile — the chat-chrome flat action tile (B19 / PQA#2620 round 2): * a rounded-SQUARE, hairline-bordered, icon-only control for action rows * (the share receipt's copy/open/platform/agent row, the table copy button, * block-card actions). * * A SIBLING of `IconButton` by design, not a variant of it (design pick on * the ui-first umbrella): the platform round IconButton (borderless ghost, * fixed 40, toolbars/close affordances) and this tile (bordered square tile, * 36, chat-surface action rows) change for different reasons, so they are * two primitives. IconButton's round/fixed-40 doctrine is untouched. * * Shape (canonical for the tile family): * - 36×36 (`h-9 w-9`), `rounded-lg`, hairline border on the card surface, * muted glyph that inks up on hover with the border strengthening. * - `no-underline` is load-bearing on the anchor form: consumers with * Tailwind preflight OFF get the UA anchor underline leaking into content * otherwise (the uni#541 regression class). * - Required `aria-label` (TS-enforced, the IconButton precedent). Pair with * the consumer's tooltip (unified's UiTooltip promotes the label to the * accessible name on icon-only controls, so label and tooltip stay one * string). * - `asChild` composes onto a real anchor — share targets are links, and the * anchor semantics (middle-click, copy-address) must survive. * * Copied/pressed feedback stays in the CONSUMER: swap the icon and the * aria-label (the share receipt's Copy -> Check swap). Clipboard access and * reset timers are behavior, not shape, and do not belong in the tile. * * Press language, a deliberate stance: NO press-down bounce here, unlike * IconButton/Button/KeycapButton. The tile is a fidelity port of the shipped * B19 treatment (uni#577), which speaks hover/focus color changes only; the * chat-chrome action rows it serves read calmer without the key-press * metaphor. If the owner's playground gate wants the press unified across * the icon-control family, adopting ICON_PRESS here is a one-line follow-up. */ export declare const actionIconTileClasses: string; export declare interface ActionIconTileProps extends TileElementProps { /** Screen-reader label. Required because the tile has no visible text. */ "aria-label": string; /** Render children via Radix Slot (e.g. a real `` for share targets). */ asChild?: boolean; } export declare const ActionInput: React_2.ForwardRefExoticComponent>; declare type ActionInputBaseProps = SharedFieldProps & VariantProps; export declare type ActionInputProps = SingleLineProps | MultiLineProps; /** * ActionInput — the generalized "input with one trailing CTA" primitive. * * This is the loose-coupling base. ChatInput, ExploreSearchBar, landing-style * email-capture, single-key URL entry — all are thin specializations of this. * * Behavior: * - Renders an `` (or `