import { Mesh } from "three";
import { MutableRefObject } from "react";
import { SoftBodyAnchorRef, SoftBodyConfig } from "../../three-ammo/lib/types";
import { SoftbodyApi } from "../api/softbody-api";
declare type UseSoftBodyOptions = Omit<SoftBodyConfig, "anchors"> & {
    anchors?: SoftBodyAnchorRef[];
};
export declare function useSoftBody(options: UseSoftBodyOptions | (() => UseSoftBodyOptions), mesh?: Mesh): [MutableRefObject<Mesh | undefined>, SoftbodyApi];
export {};
