import type { dia } from '@joint/core'; import { CellMap } from '../utils/cell/cell-map'; import type { GraphLink } from '../types/link-types'; import type { GraphElement } from '../types/element-types'; interface StoreData { readonly updateStore: (graph: dia.Graph) => Set; readonly destroy: () => void; elements: CellMap; links: CellMap; } /** * Main data structure for the graph store data. * We avoid using dia.elements and dia.link due to their mutable state. * @group Data * @returns - The store data. * @description * This function is used to create a store data for the graph. * @internal * @example * ```ts * const graph = new joint.dia.Graph(); * const storeData = new GraphStoreData(graph); * storeData.update(graph); * ``` */ export declare function createStoreData(): StoreData; export {};