///
///
import type { Writable } from 'svelte/store';
import type { CoordinateExtent } from '@xyflow/system';
import type { SvelteFlowStore } from '../../store/types';
import type { EdgeTypes, NodeTypes } from '../../types';
export declare function updateStore(store: SvelteFlowStore, { nodeTypes, edgeTypes, minZoom, maxZoom, translateExtent, paneClickDistance }: {
nodeTypes?: NodeTypes;
edgeTypes?: EdgeTypes;
minZoom?: number;
maxZoom?: number;
translateExtent?: CoordinateExtent;
paneClickDistance?: number;
}): void;
type UnwrapWritable = T extends Writable ? U : T;
export type UpdatableStoreProps = {
flowId?: UnwrapWritable;
connectionLineType?: UnwrapWritable;
connectionRadius?: UnwrapWritable;
selectionMode?: UnwrapWritable;
snapGrid?: UnwrapWritable;
defaultMarkerColor?: UnwrapWritable;
nodesDraggable?: UnwrapWritable;
nodesConnectable?: UnwrapWritable;
elementsSelectable?: UnwrapWritable;
onlyRenderVisibleElements?: UnwrapWritable;
isValidConnection?: UnwrapWritable;
autoPanOnConnect?: UnwrapWritable;
autoPanOnNodeDrag?: UnwrapWritable;
connectionMode?: UnwrapWritable;
onerror?: UnwrapWritable;
ondelete?: UnwrapWritable;
onedgecreate?: UnwrapWritable;
nodeDragThreshold?: UnwrapWritable;
onconnect?: UnwrapWritable;
onconnectstart?: UnwrapWritable;
onconnectend?: UnwrapWritable;
onbeforedelete?: UnwrapWritable;
nodeOrigin?: UnwrapWritable;
};
export declare function updateStoreByKeys(store: SvelteFlowStore, keys: UpdatableStoreProps): void;
export {};