//#region src/types.d.ts type FileList = string[]; type GitStatus = 'added' | 'deleted' | 'ignored' | 'modified' | 'renamed' | 'untracked'; type GitStatusEntry = { path: string; status: GitStatus; }; type FileTreeNodeChildren = { flattened?: string[]; direct: string[]; }; type FileTreeNode = { name: string; /** Original path key used to build the tree (not hashed). */ path: string; children?: FileTreeNodeChildren; /** For flattened nodes, lists the folder IDs that were flattened into this node */ flattens?: string[]; }; type FileTreeData = Record; type ContextMenuItem = { path: string; isFolder: boolean; }; type ContextMenuAnchorRect = Readonly<{ top: number; right: number; bottom: number; left: number; width: number; height: number; x: number; y: number; }>; type ContextMenuOpenContext = { anchorElement: HTMLElement; anchorRect: ContextMenuAnchorRect; close: () => void; canRename?: boolean; startRenaming?: () => void; }; //#endregion export { ContextMenuAnchorRect, ContextMenuItem, ContextMenuOpenContext, FileList, FileTreeData, FileTreeNode, FileTreeNodeChildren, GitStatus, GitStatusEntry }; //# sourceMappingURL=types.d.ts.map