import * as React from 'react';
import { WrappedComponentProps } from 'react-intl';
import { GraphLayout } from "./layout";
import { Viewport } from "./Viewport";
export declare type GraphUpdateHandler = (layout: GraphLayout, entityChanges?: any, options?: any) => void;
export declare type ViewportUpdateHandler = (viewport: Viewport, transitionSettings?: any) => void;
export interface IGraphContext extends WrappedComponentProps {
    layout: GraphLayout;
    updateLayout: GraphUpdateHandler;
    viewport: Viewport;
    updateViewport: ViewportUpdateHandler;
}
export declare const GraphContext: React.Context<IGraphContext | undefined>;
