import { Changeable } from "@khanacademy/perseus";
import * as React from "react";
type ChangeFn = typeof Changeable.change;
type Props = Changeable.ChangeableProps & {
    startX: string;
    startY: string;
    endX: string;
    endY: string;
    constraint: string;
    snap: number;
    constraintFn: string;
    startSubscript: number;
    endSubscript: number;
};
type DefaultProps = {
    startX: Props["startX"];
    startY: Props["startY"];
    endX: Props["endX"];
    endY: Props["endY"];
    constraint: Props["constraint"];
    snap: Props["snap"];
    constraintFn: Props["constraintFn"];
};
declare class MovableLineEditor extends React.Component<Props> {
    static defaultProps: DefaultProps;
    change: ChangeFn;
    serialize: () => any;
    render(): React.ReactNode;
}
export default MovableLineEditor;
