chess4js 1.0.0-beta.9g → 1.0.0-beta.9i

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/chess4js.d.mts CHANGED
@@ -380,6 +380,14 @@ export declare namespace Square {
380
380
  }
381
381
  }
382
382
  }
383
+ export declare class Tiebreaker {
384
+ private constructor();
385
+ getValue(player: Player): Score;
386
+ }
387
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
388
+ export declare namespace Tiebreaker.$metadata$ {
389
+ const constructor: abstract new () => Tiebreaker;
390
+ }
383
391
  export declare class Tournament {
384
392
  private constructor();
385
393
  get impactFactor(): number;
@@ -445,4 +453,5 @@ export declare function scoreOf(score: string): Score;
445
453
  export declare function playerOf(name: string, initialElo: number): Player;
446
454
  export declare function matchOf(white: Player, black: Player, impactFactor?: number, rangeFactor?: number, logisticBase?: number, id?: Nullable<any>, round?: Nullable<number>): Match;
447
455
  export declare function tournament(type: string, tiebreakers?: Array<string>, impactFactor?: number, rangeFactor?: number, logisticBase?: number, idGenerator?: Nullable<() => any>, id?: Nullable<string>, name?: Nullable<string>, timeControl?: Nullable<string>, timeControlType?: Nullable<string>): Tournament;
456
+ export declare function tiebreakerOf(name: string): Tiebreaker;
448
457
  export declare function visibleSquares(piece: string, square: string, position: Position): Bitboard;