import type { PanelStore } from "./orchestrator-panel-store.ts";
import type { GraphTheme } from "./graph-theme.ts";
export declare const StoreContext: import("react").Context<PanelStore | null>;
export declare const ThemeContext: import("react").Context<GraphTheme | null>;
export declare const TmuxSessionContext: import("react").Context<string>;
export declare function useStore(): PanelStore;
export declare function useGraphTheme(): GraphTheme;
/**
 * Subscribe to the store and return its current version.
 *
 * Uses `useSyncExternalStore` so the subscription is active from the
 * very first render — no `useEffect` timing gap that could cause a
 * missed `addSession` update.
 */
export declare function useStoreVersion(store: PanelStore): number;
//# sourceMappingURL=orchestrator-panel-contexts.d.ts.map