import { ProblemSet } from "../CodeforcesScraper" export default abstract class { readonly name: string readonly comment: string readonly extension: string readonly template: string | null constructor(name: string, comment: string, extension: string, template?: string) { this.name = name this.comment = comment this.extension = extension this.template = template ? template : null } // Return empty array of questions // Should be overridden by concrete classes if they have extra options getOptions(_baseOptions?: { [key: string]: any }): any[] { return [] }; // Handle optional questions // Should be overridden by concrete classes if they have extra options async handleOptions(_problemSet: ProblemSet, _responses: { [key: string]: any }): Promise {} }