import {IChallenge} from "./IChallenge";
import {Difficulty} from "./Difficulty";

/**
 * Interface that provides the application with challenges.
 */
export interface IChallengeProvider {
    getAll( difficulty?: Difficulty ): Promise<IChallenge[]>;
    get( id: number, difficulty?: Difficulty ): Promise<IChallenge[]>;
}