import type { MutableRefObject } from 'react'; import React from 'react'; import { type _InternalTypes } from 'remotion'; import { type CompositionSelectorActiveDrag } from './composition-selector-drag-data'; export type SourceFileRemap = { readonly from: string; readonly to: string; }; export type CompositionSelectorItemType = { key: string; type: 'composition'; composition: _InternalTypes['AnyComposition']; sourceFileRemaps: readonly SourceFileRemap[]; } | { key: string; type: 'folder'; folder: _InternalTypes['TFolder']; folderName: string; parentName: string | null; items: CompositionSelectorItemType[]; expanded: boolean; sourceFileRemaps: readonly SourceFileRemap[]; }; export declare const CompositionSelectorItem: React.FC<{ readonly item: CompositionSelectorItemType; readonly currentComposition: string | null; readonly tabIndex: number; readonly selectComposition: (c: _InternalTypes['AnyComposition'], push: boolean) => void; readonly toggleFolder: (folderName: string, parentName: string | null) => void; readonly clearRootDragHover: () => void; readonly canReorder: boolean; readonly folderDropTarget: string | null; readonly setFolderDropTarget: React.Dispatch>; readonly level: number; readonly activeDragRef: MutableRefObject; readonly parentFolderPath: string | null; readonly previousSibling: CompositionSelectorItemType | null; readonly nextSibling: CompositionSelectorItemType | null; }>;