import { MahjongTile } from "./mahjong-tile.js"; import { Direction } from "./direction.js"; import { GroupType } from "./group-type.js"; /** * Options for creating a StandardGroup. Some properties are optional * because we have defaults (e.g., open=false, isFinalWait=false). */ export interface StandardGroupOptions { tiles: MahjongTile[]; type: GroupType; open?: boolean; from?: Direction; /** Index into `tiles` of the called tile; only present on a called meld. */ calledIndex?: number; isFinalWait?: boolean; } /** * The fully-initialized StandardGroup after defaults are applied. */ export interface StandardGroup { tiles: MahjongTile[]; type: GroupType; open: boolean; from?: Direction; calledIndex?: number; isFinalWait: boolean; } /** * Factory function: merges defaults and returns a StandardGroup. */ export declare function createStandardGroup({ tiles, type, open, from, calledIndex, isFinalWait, }: StandardGroupOptions): StandardGroup; //# sourceMappingURL=standard-group.d.ts.map