import type { LayoutStore } from "../stores/layout.svelte.js"; export interface NavigationConnection { readonly activeId: string | null; readonly collapsedIds: Set; onSelect: (item: { id?: string }) => void; onToggle: (id: string, isOpen: boolean) => void; } export interface WorkspaceConnection { readonly activeId: string | null; onSelect: (id: string) => void; } export declare function createNavigationConnection( layoutStore: Pick< LayoutStore, | "activeNavItemId" | "collapsedSections" | "navigate" | "expandSection" | "collapseSection" >, ): NavigationConnection; export declare function createWorkspaceConnection( layoutStore: Pick, ): WorkspaceConnection;