import { StandardGroup } from "../models/standard-group.js"; import { MahjongTile } from "../models/mahjong-tile.js"; /** * Attempts to parse all possible groups ("triplet" or "run") from a sorted * subset of tiles (already excluding the pair), returning an array of * possible interpretations. * * Example: * parseGroups(['1m','1m','1m','2m','2m','2m','3m','3m','3m']) * could return two interpretations: * 1) [ [111m], [222m], [333m] ] * 2) [ [123m], [123m], [123m] ] * in the format of StandardGroup arrays. * * @param tiles - The remaining tiles (length multiple of 3). * @returns An array of interpretations. Each interpretation is an array of StandardGroup. * If none found, returns an empty array. */ export declare function parseGroups(tiles: MahjongTile[]): StandardGroup[][]; //# sourceMappingURL=parse-groups.d.ts.map