/** * @author Richard Davey * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ declare var GetTilesWithin: any; /** * Scans the given rectangular area (given in tile coordinates) for tiles with an index matching * `indexA` and swaps then with `indexB`. This only modifies the index and does not change collision * information. * * @function Phaser.Tilemaps.Components.SwapByIndex * @private * @since 3.0.0 * * @param {integer} tileA - First tile index. * @param {integer} tileB - Second tile index. * @param {integer} [tileX=0] - [description] * @param {integer} [tileY=0] - [description] * @param {integer} [width=max width based on tileX] - [description] * @param {integer} [height=max height based on tileY] - [description] * @param {Phaser.Tilemaps.LayerData} layer - The Tilemap Layer to act upon. */ declare var SwapByIndex: (indexA: any, indexB: any, tileX: any, tileY: any, width: any, height: any, layer: any) => void;