import '../../assert/js/assert.js';
import '../../globals.js';
import Vector2 from './Vector2.js';
export default class Ray2 {
    position: Vector2;
    direction: Vector2;
    /**
     * Constructs a2D ray using the supplied origin position and unit length direction vector
     *
     * @param position - the ray's point of origin
     * @param direction - the ray's unit direction vector
     */
    constructor(position: Vector2, direction: Vector2);
    /**
     * Returns a new Ray that has it origin shifted to a position given by an amount distance*this.direction.
     */
    shifted(distance: number): Ray2;
    /**
     * Returns a position that is a distance 'distance' along the ray.
     */
    pointAtDistance(distance: number): Vector2;
    /**
     * Returns the attributes of this ray into a string
     */
    toString(): string;
}
//# sourceMappingURL=Ray2.d.ts.map