export type { TreeSelectNode } from './ui-app.types'; /** * SvTreeSelect - a single-select dropdown that shows an indented, collapsible * tree in its panel (pick a node from a hierarchy). The open / position / * dismiss / roving / keyboard / ARIA mechanics come from the shared * `createPopoverSelect` core (with ArrowLeft/Right handled via onExtraKey for * expand/collapse); this component adds the tree flattening + rendering. Covers * the "cascader / tree select" pattern without depending on SvTree. */ import type { TreeSelectNode } from './ui-app.types'; import { type SvEditorProps } from './editor-contract'; type Props = Pick & { nodes: ReadonlyArray; value?: string | number | null; onChange?: (value: string | number) => void; onCommit?: (value: string | number) => void; onCancel?: () => void; placeholder?: string; showPath?: boolean; expandedIds?: ReadonlyArray; }; declare const SvTreeSelect: import("svelte").Component; type SvTreeSelect = ReturnType; export default SvTreeSelect;