export declare const startDrag: <T extends void | Record<string, unknown>, P = {
    x: number;
}>(evt: MouseEvent, ops: {
    transform?: ((evt: MouseEvent) => P) | undefined;
    onDrag: (p: P) => T;
    onMove: (p: P) => T;
    onDrop: (result: T) => void;
    onClear: () => void;
}) => {
    data: T;
    move: (p: P) => void;
};
//# sourceMappingURL=drag.d.ts.map