/*
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
import { TreeProps } from "./types.js";
import "client-only";
import * as react_jsx_runtime203 from "react/jsx-runtime";
//#region src/components/tree/index.d.ts
/**
* Tree - Hierarchical tree view with selection, visibility, and drag-and-drop
*
* Supports static or dynamic collections with keyboard navigation and accessibility.
*
* @template T - The type of custom values stored in tree nodes (accessed via `node.values`).
*
* @param props - {@link TreeProps}
* @param props.children - Tree items or render function for dynamic collections.
* @param props.className - CSS class for the tree container.
* @param props.disabledKeys - Set of disabled item keys.
* @param props.dragAndDropConfig - Configuration for drag and drop behavior.
* @param props.expandedKeys - Set of expanded item keys.
* @param props.items - Data source for dynamic collections.
* @param props.selectedKeys - Set of selected item keys.
* @param props.showRuleLines - Whether to show connecting lines between items.
* @param props.showVisibility - Whether to show visibility toggle buttons.
* @param props.selectionMode - Selection mode for the tree.
* @param props.variant - Visual density variant.
* @param props.visibleKeys - Set of visible item keys.
* @param props.onVisibilityChange - Callback when item visibility changes.
* @param props.onSelectionChange - Callback when selection changes.
* @returns The rendered Tree component.
*
* @example
* // Dynamic collection
* ```tsx
*
* {(node) => {node.label}}
*
* ```
*
* @example
* ```tsx
* // Static collection
*
*
* One
*
* Two
*
*
*
* ```
*/
declare function Tree({
children,
className,
disabledKeys: disabledKeysProp,
dragAndDropConfig,
expandedKeys: expandedKeysProp,
items,
selectedKeys: selectedKeysProp,
showRuleLines,
showVisibility,
selectionMode,
variant,
visibleKeys: visibleKeysProp,
onVisibilityChange,
onSelectionChange,
...rest
}: TreeProps): react_jsx_runtime203.JSX.Element;
//#endregion
export { Tree };
//# sourceMappingURL=index.d.ts.map