declare abstract class Parser { abstract parse(input: TInput): TOutput; abstract stringify(obj: TOutput): TInput; } export default Parser;