import { Puzzle } from '../puzzle'; import { DodecaminxTurn, DodecaminxSolvedOptions, DodecaminxOptions, DodecaminxFace, DodecaminxState, DodecaminxSticker } from './types'; export type { DodecaminxSticker, DodecaminxFace, } from './types'; export declare class Dodecaminx implements Puzzle { /** * Center orientation of each face. */ readonly centers: Record; /** * Data factory for stickers. */ readonly data: () => T; /** * Random number generator. */ readonly rand: () => number; /** * Size of the cube. */ readonly size: number; /** * State of the cube. */ readonly state: DodecaminxState; constructor(opts?: number | DodecaminxOptions); /** * Visit every sticker on the given face (block matrix order). */ forEachSide(face: DodecaminxFace, fn: (sticker: DodecaminxSticker) => void): void; generateScramble(depth?: number): string; parseTurn(source: string): DodecaminxTurn; reset(): this; scramble(depth?: number): this; solved(opts?: DodecaminxSolvedOptions): boolean; stringifyTurn(turn: DodecaminxTurn): string; turn(turn: DodecaminxTurn | string): this; }