import { Table, Vector2 } from "../struct";
import { Rect } from "../struct/rect";
export interface ConnectData {
    groups: Vector2[][];
    paths: Vector2[][];
}
/**
 * Connects areas of the map to ensure they are all connected.
 *
 * For instance, if you're using an alive value of 1 for walls,
 * then this can connect the dead value of 0 to ensure all
 * squares on the map are accessable.
 *
 * @param value The value to connect (default this.deadValue)
 */
export declare function connect<T>(table: Table<T>, value: T): ConnectData;
export declare function getSimpleHallwayFromRooms(a: Rect, b: Rect): Vector2[];
