import { CONTEXT_MENU_SLOT_NAME, CONTEXT_MENU_TRIGGER_TYPE, FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY, FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE, FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE, FILE_TREE_STYLE_ATTRIBUTE, FILE_TREE_TAG_NAME, FILE_TREE_UNSAFE_CSS_ATTRIBUTE, FLATTENED_PREFIX, HEADER_SLOT_NAME } from "./constants.js";
import { FileTreeBuiltInIconSet, FileTreeIconConfig, FileTreeIcons, RemappedIcon } from "./iconConfig.js";
import { getBuiltInSpriteSheet } from "./builtInIcons.js";
import { ContextMenuAnchorRect, GitStatus, GitStatusEntry } from "./publicTypes.js";
import { createFileTreeIconResolver } from "./render/iconResolver.js";
import { TreeThemeInput, TreeThemeStyles, themeToTreeStyles } from "./utils/themeToTreeStyles.js";
import { FILE_TREE_DENSITY_PRESETS, FileTreeDensity, FileTreeDensityKeyword, FileTreeDensityPreset } from "./model/density.js";
import { FileTreeAddEvent, FileTreeBatchEvent, FileTreeBatchOperation, FileTreeCollisionStrategy, FileTreeCompositionOptions, FileTreeContextMenuButtonVisibility, FileTreeContextMenuItem, FileTreeContextMenuOpenContext, FileTreeContextMenuTriggerMode, FileTreeDirectoryHandle, FileTreeDragAndDropConfig, FileTreeDropContext, FileTreeDropResult, FileTreeDropTarget, FileTreeFileHandle, FileTreeGitStatusPatch, FileTreeHeaderCompositionOptions, FileTreeHydrationProps, FileTreeInitialExpansion, FileTreeItemHandle, FileTreeListener, FileTreeMoveEvent, FileTreeMoveOptions, FileTreeMutationEvent, FileTreeMutationEventForType, FileTreeMutationEventInvalidation, FileTreeMutationEventType, FileTreeMutationHandle, FileTreeMutationSemanticEvent, FileTreeOptions, FileTreeRemoveEvent, FileTreeRemoveOptions, FileTreeRenameEvent, FileTreeRenamingConfig, FileTreeRenamingItem, FileTreeRenderOptions, FileTreeRenderProps, FileTreeResetEvent, FileTreeResetOptions, FileTreeResetPreparedOptions, FileTreeRowDecoration, FileTreeRowDecorationContext, FileTreeRowDecorationRenderer, FileTreeScrollOffset, FileTreeScrollToPathOptions, FileTreeSearchBlurBehavior, FileTreeSearchChangeListener, FileTreeSearchMode, FileTreeSearchSessionHandle, FileTreeSelectionChangeListener, FileTreeSortComparator, FileTreeSortEntry, FileTreeSsrPayload, FileTreeVisibleRow } from "./model/publicTypes.js";
import { FileTreePreparedInput, prepareFileTreeInput, preparePresortedFileTreeInput } from "./preparedInput.js";
import { FILE_TREE_DEFAULT_ITEM_HEIGHT } from "./model/virtualization.js";
import { FileTree, preloadFileTree, serializeFileTreeSsrPayload } from "./render/FileTree.js";
export { CONTEXT_MENU_SLOT_NAME, CONTEXT_MENU_TRIGGER_TYPE, type ContextMenuAnchorRect, type FileTreeContextMenuButtonVisibility as ContextMenuButtonVisibility, type FileTreeContextMenuItem as ContextMenuItem, type FileTreeContextMenuOpenContext as ContextMenuOpenContext, type FileTreeContextMenuTriggerMode as ContextMenuTriggerMode, FILE_TREE_DEFAULT_ITEM_HEIGHT, FILE_TREE_DENSITY_PRESETS, FILE_TREE_SCROLLBAR_GUTTER_MEASURED_PROPERTY, FILE_TREE_SCROLLBAR_GUTTER_STYLE_ATTRIBUTE, FILE_TREE_SCROLLBAR_MEASURE_ATTRIBUTE, FILE_TREE_STYLE_ATTRIBUTE, FILE_TREE_TAG_NAME, FILE_TREE_UNSAFE_CSS_ATTRIBUTE, FLATTENED_PREFIX, FileTree, type FileTreeAddEvent, type FileTreeBatchEvent, type FileTreeBatchOperation, type FileTreeBuiltInIconSet, type FileTreeCollisionStrategy, type FileTreeCompositionOptions, type FileTreeDensity, type FileTreeDensityKeyword, type FileTreeDensityPreset, type FileTreeDirectoryHandle, type FileTreeDragAndDropConfig, type FileTreeDropContext, type FileTreeDropResult, type FileTreeDropTarget, type FileTreeFileHandle, type FileTreeGitStatusPatch, type FileTreeHeaderCompositionOptions, type FileTreeHydrationProps, type FileTreeIconConfig, type FileTreeIcons, type FileTreeInitialExpansion, type FileTreeItemHandle, type FileTreeListener, type FileTreeMoveEvent, type FileTreeMoveOptions, type FileTreeMutationEvent, type FileTreeMutationEventForType, type FileTreeMutationEventInvalidation, type FileTreeMutationEventType, type FileTreeMutationHandle, type FileTreeMutationSemanticEvent, type FileTreeOptions, type FileTreePreparedInput, type FileTreeRemoveEvent, type FileTreeRemoveOptions, type FileTreeRenameEvent, type FileTreeRenamingConfig, type FileTreeRenamingItem, type FileTreeRenderOptions, type FileTreeRenderProps, type FileTreeResetEvent, type FileTreeResetOptions, type FileTreeResetPreparedOptions, type FileTreeRowDecoration, type FileTreeRowDecorationContext, type FileTreeRowDecorationRenderer, type FileTreeScrollOffset, type FileTreeScrollToPathOptions, type FileTreeSearchBlurBehavior, type FileTreeSearchChangeListener, type FileTreeSearchMode, type FileTreeSearchSessionHandle, type FileTreeSelectionChangeListener, type FileTreeSortComparator, type FileTreeSortEntry, type FileTreeSsrPayload, type FileTreeVisibleRow, type GitStatus, type GitStatusEntry, HEADER_SLOT_NAME, type RemappedIcon, type TreeThemeInput, type TreeThemeStyles, createFileTreeIconResolver, getBuiltInSpriteSheet, preloadFileTree, prepareFileTreeInput, preparePresortedFileTreeInput, serializeFileTreeSsrPayload, themeToTreeStyles };