/** * @monochrome-edge/ui - React wrappers for interactive components * * These components do NOT reimplement behaviour. They wrap the canonical * vanilla TypeScript classes (the pure CSS/JS source of truth) so the * React surface stays compatible with the base library by construction: * a ref-mounted container, the class instantiated in an effect, and * `destroy()` on unmount. */ import React, { ReactNode } from "react"; import { type AccordionOptions } from "../ui/components/accordion/accordion"; import { type TabsOptions } from "../ui/components/tabs/tabs"; import { type DropdownOptions } from "../ui/components/dropdown/dropdown"; import { type SearchDocument, type SearchBarOptions } from "../ui/components/search-bar/search-bar"; import { type SearchToolbarOptions } from "../ui/components/search-toolbar/search-toolbar"; import { type TreeNode, type TreeViewOptions } from "../ui/components/tree-view/tree-view"; import { type StepperOptions, type Step } from "../ui/components/stepper/stepper"; import { type MathRendererOptions } from "../ui/components/math-renderer/math-renderer"; import { type GraphViewOptions } from "../ui/components/graph-view/graph-view"; interface BaseProps { className?: string; style?: React.CSSProperties; } export interface AccordionProps extends BaseProps, AccordionOptions { children: ReactNode; } export declare function Accordion({ children, className, style, allowMultiple, defaultOpen, onToggle, }: AccordionProps): import("react/jsx-runtime").JSX.Element; export interface TabsProps extends BaseProps, TabsOptions { children: ReactNode; } export declare function Tabs({ children, className, style, defaultTab, onChange, }: TabsProps): import("react/jsx-runtime").JSX.Element; export interface DropdownProps extends BaseProps, DropdownOptions { trigger: ReactNode; children: ReactNode; } export declare function Dropdown({ trigger, children, className, style, closeOnSelect, placement, offset, onOpen, onClose, }: DropdownProps): import("react/jsx-runtime").JSX.Element; export interface SearchBarProps extends BaseProps, Omit { } export declare function SearchBar({ className, style, documents, ...options }: SearchBarProps): import("react/jsx-runtime").JSX.Element; export interface SearchToolbarProps extends BaseProps, SearchToolbarOptions { } export declare function SearchToolbar({ className, style, ...options }: SearchToolbarProps): import("react/jsx-runtime").JSX.Element; export interface TreeViewProps extends BaseProps, Omit { } export declare function TreeView({ className, style, data, ...options }: TreeViewProps): import("react/jsx-runtime").JSX.Element; export interface StepperProps extends BaseProps, StepperOptions { steps: Step[]; } export declare function Stepper({ className, style, steps, ...options }: StepperProps): import("react/jsx-runtime").JSX.Element; export interface MathProps extends BaseProps, Omit { latex: string; } export declare function Math({ className, style, latex, ...options }: MathProps): import("react/jsx-runtime").JSX.Element; export interface GraphViewProps extends BaseProps, Omit { } export declare function GraphView({ className, style, documents, ...options }: GraphViewProps): import("react/jsx-runtime").JSX.Element; export type { SearchDocument, TreeNode, Step };