/** * SidebarLayoutManager — Discord-style org sidebar editor. * The canvas IS the sidebar: sections, folders, leaves — drag, rename, nest. */ import * as React from 'react'; import { type CatalogLeaf, type SidebarLayoutDoc, type SidebarLayoutNode } from './apply-sidebar-layout'; export interface SidebarLayoutManagerProps { loadLayout: () => Promise; saveLayout: (doc: SidebarLayoutDoc) => Promise; resetLayout: () => Promise; catalog: CatalogLeaf[]; currentGroups?: Array<{ title: string; items: Array<{ title: string; url: string; icon?: string; items?: Array<{ title: string; url: string; icon?: string; }>; }>; }>; /** Resolve i18n keys / raw titles to human labels. */ resolveLabel?: (title: string) => string; title?: string; description?: string; } export declare function SidebarLayoutManager({ loadLayout, saveLayout, resetLayout, catalog, currentGroups, resolveLabel, title, description, }: SidebarLayoutManagerProps): React.JSX.Element; export type { CatalogLeaf, SidebarLayoutDoc, SidebarLayoutNode }; //# sourceMappingURL=sidebar-layout-manager.d.ts.map