import { History } from 'history'; import { NodeDefinition, StatefulGraphNode, StatefulNodeType } from '../../types/graph'; export interface LocationPathNode extends StatefulGraphNode<'locationPath', LocationPathNodeProperties, LocationPathNodeState, LocationPathNodeData> { } export interface LocationPathNodeDefinition extends NodeDefinition<'locationPath', LocationPathNodeProperties, LocationPathNodeState, LocationPathNodeData> { } export interface LocationPathNodeProperties { history: History; update: boolean | undefined; } export interface LocationPathNodeState { currentValue: NodeDefinition; } export interface LocationPathNodeData { disposeEventListener: () => void; disposeHistoryListener: () => void; } export declare const LocationPathNodeType: StatefulNodeType<'locationPath', LocationPathNodeProperties, LocationPathNodeState>; export declare function locationPath(history: History, update?: boolean): NodeDefinition; export declare function isLocationPathNodeDefinition(value: NodeDefinition): value is LocationPathNodeDefinition;