import React from "react"; import type { AxisLabelLocation, ShowAxisArrows, MarkingsType } from "@khanacademy/perseus-core"; import type { Interval, vec } from "mafs"; export type GraphConfig = { range: [Interval, Interval]; tickStep: vec.Vector2; gridStep: vec.Vector2; snapStep: vec.Vector2; markings: MarkingsType; showTooltips: boolean; graphDimensionsInPixels: vec.Vector2; width: number; height: number; labels: readonly string[]; labelLocation?: AxisLabelLocation; disableKeyboardInteraction?: boolean; interactiveColor?: string; showAxisArrows: ShowAxisArrows; }; export declare const GraphConfigContext: React.Context; export default function useGraphConfig(): GraphConfig;