import { BodyInterface } from '../dynamics'; /** * Get time of inpact for two moving bodies. * * @param body0 First body to test against * @param r0 maximal radius of the shape of dynamic body (the maximal distance from centriod to boundary) * @param body1 Second body to test against * @param r1 maximal radius of the shape of dynamic body (the maximal distance from centriod to boundary) * @param interval time interval inside witch result should be found. Estimates in seconds. * @param epsilon numerical proximity * @returns value between [0-1]. 1 indicates no collisions in given interval */ export declare const getToi: (body0: BodyInterface, r0: number, body1: BodyInterface, r1: number, interval: number, epsilon: number, maxIterations: number, penetrationDepth: number) => number;