import '../../../assert/js/assert.js';
import '../../../globals.js';
/**
 * Clipping arbitrary (degenerate, non-convex, self-intersecting, etc.) polygons to within a grid.
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import Vector2 from '../../../dot/js/Vector2.js';
export type GridClipCallback = (cellX: number, cellY: number, startX: number, startY: number, endX: number, endY: number, startPoint: Vector2 | null, endPoint: Vector2 | null) => void;
export default class GridClipping {
    static gridClipInterceptIterate(startPoint: Vector2, endPoint: Vector2, minX: number, minY: number, maxX: number, maxY: number, stepX: number, stepY: number, stepWidth: number, stepHeight: number, callback: GridClipCallback): void;
    static gridClipIterate(startPoint: Vector2, endPoint: Vector2, minX: number, minY: number, maxX: number, maxY: number, stepX: number, stepY: number, stepWidth: number, stepHeight: number, callback: GridClipCallback): void;
}
//# sourceMappingURL=GridClipping.d.ts.map