import type { FinishLine } from './types.js'; /** * Determine which side of the finish line a point is on. * * Uses the cross product of vectors to compute signed distance from * the line. The sign indicates which side of the line the point is on. * * @param finishLine - The finish line definition * @param lat - Latitude of the point in decimal degrees * @param lng - Longitude of the point in decimal degrees * @returns Signed value indicating side of line */ export declare function sideOfLine(finishLine: FinishLine, lat: number, lng: number): number; /** * Check if a trajectory segment crosses the finish line. * * Determines if the line segment from (lat1, lng1) to (lat2, lng2) * intersects with the finish line segment from P1 to P2. * * @param finishLine - The finish line definition * @param lat1 - Starting latitude in decimal degrees * @param lng1 - Starting longitude in decimal degrees * @param lat2 - Ending latitude in decimal degrees * @param lng2 - Ending longitude in decimal degrees * @returns True if the trajectory crosses the finish line, False otherwise */ export declare function crossesLine(finishLine: FinishLine, lat1: number, lng1: number, lat2: number, lng2: number): boolean; //# sourceMappingURL=finish-line.d.ts.map