import { TPropertyObject } from 'tscommons-esm-core'; import { DatabaseService } from '../services/database.service.mjs'; import { IParser } from '../interfaces/iparser.mjs'; import { IRequestOutcome } from '../interfaces/irequest-outcome.mjs'; import { IParserConfig } from '../interfaces/iparser-config.mjs'; export declare abstract class Parser implements IParser { protected outcome?: IRequestOutcome | undefined; private configKey?; private enabled; private parserConfig; constructor(outcome?: IRequestOutcome | undefined, config?: TPropertyObject, configKey?: string | undefined); protected getConfig

(// this allows subclasses to get their config without having to have all the T attributes of their own children checker: (test: unknown) => test is P): P | undefined; isEnabled(): boolean; abstract supports(contentType: string, isAllow: boolean): boolean; init(_database: DatabaseService): Promise; parse(_database: DatabaseService): Promise; links(): Promise; }