import type { GraphApi } from './use-causal-graph-editor';
import type { EdgeConstraintItem, GraphState } from '../types';
interface GraphContext {
    /** Graph API */
    api: GraphApi;
    /** Constraints related to the edge */
    constraints: EdgeConstraintItem[];
    /** Defines whether the graph is editable */
    editable?: boolean;
    /** Graph state */
    graphState?: GraphState;
    /** Handler to update a given constraint */
    onUpdateConstraint: (constraint: EdgeConstraintItem) => void | Promise<void>;
    /** Currently selected edge */
    selectedEdge?: [string, string];
    /** Currently selected node */
    selectedNode?: string;
    /** Defines whether verbose description should show */
    verboseDescriptions?: boolean;
}
/**
 * Context for handling interactions between the side panel and graph canvas
 */
declare const graphCtx: import("react").Context<GraphContext>;
export default graphCtx;
//# sourceMappingURL=graph-context.d.ts.map