import { NodeId } from '../../network'; import { Writable } from 'svelte/store'; import { TooltipStore } from './tooltip'; /** Used to differentiate between Svelte contexts. */ export declare const viewerKey: unique symbol; export declare const networkKey: unique symbol; export interface ISelection { readonly primaryNodeId: NodeId; readonly secondaryIds: Array; } export type SelectionStore = Writable>>; export interface IViewerContext { selections: SelectionStore; tooltips: TooltipStore; }