import { NodeEditor, NodeFactory, type NodeEditorSaveData } from '../editor'; import type { Writable } from 'svelte/store'; import { type Setup, type SetupFunction } from './Setup'; import { type NodeMenuItem } from '../plugins/context-menu-plugin.svelte'; import { type ShowContextMenu, type XmlSchema } from '@selenite/commons'; export type XmlContext = {}; export type ModalStore = {}; export type SetupGraphEditorParams = { container?: HTMLElement; saveData?: NodeEditorSaveData; xmlContext?: Writable; modalStore?: ModalStore; setups?: (SetupFunction | Setup)[]; xmlSchemas?: Record; }; export type SetupGraphEditorResult = { editor: NodeEditor; factory: NodeFactory; }; export declare function setupGraphEditor(params?: SetupGraphEditorParams): Promise; export declare function setupFullGraphEditor(params?: SetupGraphEditorParams & { showContextMenu?: ShowContextMenu; additionalNodeItems?: NodeMenuItem[]; }): Promise; export declare function setupSvelteGraphEditor(params?: SetupGraphEditorParams & { showContextMenu?: ShowContextMenu; additionalNodeItems?: NodeMenuItem[]; }): Promise;