import { CrudInterface, Database, CustomInputStage, Storage } from './types'; import { Get } from './get'; import { Update } from './update'; import { Delete } from './delete'; import { Find } from './find'; import { Reset } from './reset'; /** * A class to handle tournament management at those levels: `stage`, `group`, `round`, `match` and `match_game`. */ export declare class BracketsManager { storage: Storage; get: Get; update: Update; delete: Delete; find: Find; reset: Reset; /** * Creates an instance of BracketsManager, which will handle all the stuff from the library. * * @param storageInterface An implementation of CrudInterface. */ constructor(storageInterface: CrudInterface); /** * Creates a stage for an existing tournament. The tournament won't be created. * * @param stage A stage to create. */ create(stage: CustomInputStage): Promise; /** * Imports data in the database. * * @param data Data to import. * @param normalizeIds Enable ID normalization: all IDs (and references to them) are remapped to consecutive IDs starting from 0. */ import(data: Database, normalizeIds?: boolean): Promise; /** * Exports data from the database. */ export(): Promise; } //# sourceMappingURL=manager.d.ts.map